Top Level Namespace

Defined Under Namespace

Modules: RSpec, RWebSpec, Selenium, Spec Classes: ContainsText

Constant Summary collapse

RWEBSPEC_WEBDRIVER_VERSION =
"0.5"
MAX_MESSAGE_LENGTH =

< 10K

8192

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/rwebspec-webdriver/matchers/contains_text.rb', line 34

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