Skip to content

Conversation

@ydah
Copy link
Member

@ydah ydah commented Nov 23, 2025

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

Replace this text with a summary of the changes in your PR. The more detailed you are, the better.


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with main (if not - rebase it).
  • Squashed related commits together.
  • Added tests.
  • Updated documentation.
  • Added an entry to the CHANGELOG.md if the new code introduces user-observable changes.
  • The build (bundle exec rake) passes (be sure to run this locally, since it may produce updated documentation that you will need to commit).

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

  • Set VersionChanged: "<<next>>" in config/default.yml.

@ydah ydah requested a review from a team as a code owner November 23, 2025 15:24
@github-actions
Copy link

yamllint Failed

Show Output
./config/obsoletion.yml:11:63: [error] no new line character at the end of file (new-line-at-end-of-file)

Workflow: Yamllint, Action: __karancode_yamllint-github-action, Lint: .

@github-actions
Copy link

yamllint Failed

Show Output
./config/obsoletion.yml:11:63: [error] no new line character at the end of file (new-line-at-end-of-file)

Workflow: Yamllint, Action: __karancode_yamllint-github-action, Lint: .

@github-actions
Copy link

yamllint Failed

Show Output
./config/obsoletion.yml:11:63: [error] no new line character at the end of file (new-line-at-end-of-file)

Workflow: Yamllint, Action: __karancode_yamllint-github-action, Lint: .

@ydah ydah force-pushed the move-rspec-dept branch 2 times, most recently from 7149ec9 to 22946c3 Compare November 23, 2025 15:34
…ybara/RSpec/*`

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants