Method: Webrat::Selenium::Matchers#assert_have_no_xpath

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

#assert_have_no_xpath(expected) ⇒ Object



47
48
49
50
# File 'lib/webrat/selenium/matchers/have_xpath.rb', line 47

def assert_have_no_xpath(expected)
  hs = HaveXpath.new(expected)
  assert !hs.matches?(response), hs.negative_failure_message
end