rubocop / rubocop-capybara

Code style checking for Capybara files.
https://docs.rubocop.org/rubocop-capybara
MIT License
38 stars 7 forks source link

Move the department associated with `Capybara::RSpecMatchers` to `Capybara/RSpec/*` #113

Open ydah opened 3 months ago

ydah commented 3 months ago

This PR move the department associated with Capybara::RSpecMatchers to Capybara/RSpec/*.

Capybara/CurrentPathExpectation, Capybara/SpecificMatcher, Capybara/NegationMatcher, and Capybara/VisibilityMatcher cops depend on methods from the Capybara::RSpecMatchers class.

https://www.rubydoc.info/gems/capybara/Capybara/RSpecMatchers

This is breaking changes and will be planned during the major upgrade to RuboCop Capybara3.0.


Before submitting the PR make sure the following are checked:

If you have created a new cop:

If you have modified an existing cop's configuration options:

github-actions[bot] commented 3 months ago
1 Warning
:warning: There is a cop that became Enabled: true due to this pull request.
Please review the diff and make sure there are no issues.

Generated by :no_entry_sign: Danger