class Capybara::RSpecMatchers::HaveTitle

def description

def description
  "have title #{@title.inspect}"
end

def does_not_match?(actual)

def does_not_match?(actual)
  wrap_does_not_match?(actual) { |el| el.assert_no_title(*@args) }
end

def initialize(*args)

def initialize(*args)
  @args = args
  # are set just for backwards compatability
  @title = args.first
end

def matches?(actual)

def matches?(actual)
  wrap_matches?(actual) { |el| el.assert_title(*@args) }
end