lib/rubocop/cop/rspec/capybara/current_path_expectation.rb in rubocop-rspec-1.42.0 vs lib/rubocop/cop/rspec/capybara/current_path_expectation.rb in rubocop-rspec-1.43.0

- old
+ new

@@ -21,10 +21,10 @@ # # # good # expect(page).to have_current_path("/callback") # expect(page).to have_current_path(/widgets/) # - class CurrentPathExpectation < Cop + class CurrentPathExpectation < Base extend AutoCorrector MSG = 'Do not set an RSpec expectation on `current_path` in ' \ 'Capybara feature specs - instead, use the ' \ '`have_current_path` matcher on `page`'