From c0bd4cb80021445e52708c9a6428fd9540a461a0 Mon Sep 17 00:00:00 2001 From: Phil Pirozhkov Date: Thu, 5 Nov 2020 10:04:54 +0300 Subject: [PATCH] fixup! Clarify breaking changes summary --- docs/modules/ROOT/pages/upgrade_to_version_2.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/modules/ROOT/pages/upgrade_to_version_2.adoc b/docs/modules/ROOT/pages/upgrade_to_version_2.adoc index b2dc9e16c..d4852610c 100644 --- a/docs/modules/ROOT/pages/upgrade_to_version_2.adoc +++ b/docs/modules/ROOT/pages/upgrade_to_version_2.adoc @@ -10,7 +10,7 @@ In version 2.x: - cop departments are nested for cops with a department that doesn’t match the extension name (`Capybara`, `FactoryBot`, `Rails`) - `AllCops/RSpec/Patterns`/`AllCops/FactoryBot/Patterns` options are removed - Calling `super` from `#on_new_investigation` defined in a cop is mandatory now - - Avoid explicit definition of `cop` as `described_class.new` + - In specs, do not define `cop` [discrete] === Adjust the configuration of `RSpec/EmptyExampleGroup`