Method: Webrat::Selenium::Matchers::HaveXpath#negative_failure_message

Defined in:
lib/webrat/selenium/matchers/have_xpath.rb

#negative_failure_messageObject

Returns

String

The failure message to be displayed in negative matches.



33
34
35
# File 'lib/webrat/selenium/matchers/have_xpath.rb', line 33

def negative_failure_message
  "expected following text to not match xpath #{@expected}:\n#{@document}"
end