rubocop-rspec icon indicating copy to clipboard operation
rubocop-rspec copied to clipboard

add configure doc for empty_example_group.rb

Open kuboon opened this issue 2 years ago • 1 comments

based on v1 doc https://www.rubydoc.info/gems/rubocop-rspec/1.15.0/RuboCop/Cop/RSpec/EmptyExampleGroup

and upgrade doc. https://github.com/rubocop/rubocop-rspec/blob/cd6a30efa9094e389cf9e4dd473b7631fe18bab1/docs/modules/ROOT/pages/upgrade_to_version_2.adoc#adjust-the-configuration-of-rspecemptyexamplegroup


Before submitting the PR make sure the following are checked:

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

kuboon avatar May 29 '23 02:05 kuboon

https://github.com/rubocop/rubocop-rspec/blob/v2.22.0/lib/rubocop/cop/rspec/multiple_expectations.rb#L51-L62

https://github.com/search?q=repo%3Arubocop%2Frubocop-rspec%20%40example%20configuration&type=code

kuboon avatar Jul 26 '23 03:07 kuboon