class Capybara::RSpecMatchers::HaveText

def description

def description
  "text #{format(@content)}"
end

def does_not_match?(actual)

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

def format(content)

def format(content)
  content.inspect
end

def initialize(*args)

def initialize(*args)
  @args = args.dup
  @content = args[0].is_a?(Symbol) ? args[1] : args[0]
end

def matches?(actual)

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