class Capybara::Queries::CurrentPathQuery
def failure_message_helper(negated = '')
def failure_message_helper(negated = '') verb = @expected_path.is_a?(Regexp) ? 'match' : 'equal' "expected #{@actual_path.inspect}#{negated} to #{verb} #{@expected_path.inspect}" end