class Capybara::RSpecMatchers::HaveCurrentPath
def current_path
def current_path @args.first end
def description
def description "have current path #{current_path.inspect}" end
def does_not_match?(actual)
def does_not_match?(actual) wrap_does_not_match?(actual) { |el| el.assert_no_current_path(*@args) } end
def matches?(actual)
def matches?(actual) wrap_matches?(actual) { |el| el.assert_current_path(*@args) } end