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

Fix InternalAffairs/ExampleDescription offenses on master #1154

Merged
merged 1 commit into from
May 21, 2021

Conversation

tejasbubane
Copy link
Contributor

@tejasbubane tejasbubane commented May 19, 2021

CI is failing with latest rubocop https://app.circleci.com/pipelines/github/rubocop/rubocop-rspec/887/workflows/cb3ac5d9-a753-42fd-a26d-86b9e5bd8c69/jobs/20828

Rubocop change: rubocop/rubocop#9797 - Released in rubocop v1.15.0


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).

If you have created a new cop:

  • Added the new cop to config/default.yml.
  • The cop is configured as Enabled: pending in config/default.yml.
  • The cop documents examples of good and bad code.
  • The tests assert both that bad code is reported and that good code is not reported.
  • Set VersionAdded in default/config.yml to the next minor version.

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

  • Set VersionChanged in config/default.yml to the next major version.

Copy link
Member

@pirj pirj left a comment

Choose a reason for hiding this comment

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

Thank you so much!
Diversity in example descriptions was triggering my OCD for so long.

spec/rubocop/cop/rspec/file_path_spec.rb Outdated Show resolved Hide resolved
spec/rubocop/cop/rspec/file_path_spec.rb Outdated Show resolved Hide resolved
spec/rubocop/cop/rspec/overwriting_setup_spec.rb Outdated Show resolved Hide resolved
spec/rubocop/cop/rspec/return_from_stub_spec.rb Outdated Show resolved Hide resolved
@tejasbubane
Copy link
Contributor Author

@pirj Fixed as per your review comments.

@bquorning
Copy link
Collaborator

Could you please add to the PR description a link to the change in rubocop/rubocop that prompted these changes?

@tejasbubane
Copy link
Contributor Author

Could you please add to the PR description a link to the change in rubocop/rubocop that prompted these changes?

@bquorning Added

@pirj pirj merged commit 78d1ae4 into rubocop:master May 21, 2021
@pirj
Copy link
Member

pirj commented May 21, 2021

Please ping us when your other PRs builds pass.
And thanks again!

@tejasbubane tejasbubane deleted the fix-failing-rubocop branch May 21, 2021 12:15
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

4 participants