class Capybara::RSpecMatchers::HaveText

def description

def description
  "text #{format(text)}"
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 matches?(actual)

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

def text

def text
  @args[0].is_a?(Symbol) ? @args[1] : @args[0]
end