class Capybara::RSpecMatchers::Matcher
def wrap_matches?(actual)
def wrap_matches?(actual) yield(wrap(actual)) rescue Capybara::ExpectationNotMet => e @failure_message = e.message return false end
def wrap_matches?(actual) yield(wrap(actual)) rescue Capybara::ExpectationNotMet => e @failure_message = e.message return false end