config/default.yml in rubocop-rspec-2.27.0 vs config/default.yml in rubocop-rspec-2.27.1
- old
+ new
@@ -281,12 +281,13 @@
SkipBlocks: false
EnforcedStyle: described_class
SupportedStyles:
- described_class
- explicit
+ OnlyStaticConstants: true
SafeAutoCorrect: false
VersionAdded: '1.0'
- VersionChanged: '1.11'
+ VersionChanged: '2.27'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribedClass
RSpec/DescribedClassModuleWrapping:
Description: Avoid opening modules and defining specs within them.
Enabled: false