Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove extracted cops in Capybara, FactoryBot and Rails departments. #1848

Merged
merged 1 commit into from May 3, 2024

Conversation

ydah
Copy link
Member

@ydah ydah commented Mar 29, 2024

This PR remove extracted cop departments. (Capybara, FactoryBot, Rails)


Before submitting the PR make sure the following are checked:

  • Feature branch is up-to-date with master (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).

@ydah ydah requested a review from a team as a code owner March 29, 2024 17:12
@ydah ydah added this to the 3.0 milestone Mar 29, 2024
@ydah ydah changed the title Remove extracted cop departments. (Capybara, FactoryBot, Rails) Remove extracted cops in Capybara, FactoryBot and Rails departments. Mar 29, 2024
VersionAdded: '1.18'
VersionChanged: '2.0'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation

RSpec/Capybara/FeatureMethods:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we replace featuremethods with RSpec/Dialect configuration?
Would close a bunch of issues, too:
Uploading 01ADFB5F-F2D7-400B-AD48-8D4AEF039F11.jpeg…

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good idea @pirj. I’ve added this as an issue in the 3.0 milestone.

@bquorning
Copy link
Collaborator

@ydah Now that we have a separate 2-x-stable branch, I think we are ready to merge this pull request after the conflicts are fixed.

@ydah
Copy link
Member Author

ydah commented May 3, 2024

I updated this PR.

Copy link
Collaborator

@bquorning bquorning left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏🏼

@ydah
Copy link
Member Author

ydah commented May 3, 2024

It is also a blocker for subsequent PR, so this PR will be merged. We can also follow up.

@ydah ydah merged commit b5b8a7f into master May 3, 2024
24 checks passed
@ydah ydah deleted the remove-extracted branch May 3, 2024 11:04
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.

None yet

3 participants