Top Level Namespace

Defined Under Namespace

Modules: FireWatir, RWebUnit, Spec Classes: ContainsText

Constant Summary collapse

RWEBUNIT_VERSION =
"1.3.1"

Instance Method Summary collapse

Instance Method Details

#contains_text?(expected) ⇒ Boolean Also known as: contains?

This method is the one you use with should/should_not

Returns:

  • (Boolean)


34
35
36
# File 'lib/rwebunit/matchers/contains_text.rb', line 34

def contains_text?(expected)
  ContainsText.new(expected)
end