class Capybara::RSpecMatchers::HaveCurrentPath
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 initialize(*args)
def initialize(*args) @args = args @current_path = args.first end
def matches?(actual)
def matches?(actual) wrap_matches?(actual) { |el| el.assert_current_path(*@args) } end