# File lib/webrat/core/matchers/have_xpath.rb, line 113 def assert_have_xpath(expected, options = {}, &block) hs = HaveXpath.new(expected, options, &block) assert hs.matches?(response_body), hs.failure_message end