Method: Capybara::RSpecMatchers#have_current_path

Defined in:
lib/capybara/rspec/matchers.rb

#have_current_path(path, **options, &optional_filter_block) ⇒ Object

RSpec matcher for the current path.



147
148
149
# File 'lib/capybara/rspec/matchers.rb', line 147

def have_current_path(path, **options, &optional_filter_block)
  Matchers::HaveCurrentPath.new(path, **options, &optional_filter_block)
end