Skip to content

Commit c0bd4cb

Browse files
committed
fixup! Clarify breaking changes summary
1 parent d34c465 commit c0bd4cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/modules/ROOT/pages/upgrade_to_version_2.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ In version 2.x:
1010
- cop departments are nested for cops with a department that doesn’t match the extension name (`Capybara`, `FactoryBot`, `Rails`)
1111
- `AllCops/RSpec/Patterns`/`AllCops/FactoryBot/Patterns` options are removed
1212
- Calling `super` from `#on_new_investigation` defined in a cop is mandatory now
13-
- Avoid explicit definition of `cop` as `described_class.new`
13+
- In specs, do not define `cop`
1414

1515
[discrete]
1616
=== Adjust the configuration of `RSpec/EmptyExampleGroup`

0 commit comments

Comments
 (0)