config/default.yml in rubocop-rspec-2.9.0 vs config/default.yml in rubocop-rspec-2.10.0
- old
+ new
@@ -153,13 +153,18 @@
Enabled: true
VersionAdded: '1.7'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEql
RSpec/BeNil:
- Description: Check that `be_nil` is used instead of `be(nil)`.
+ Description: Ensures a consistent style is used when matching `nil`.
Enabled: pending
+ EnforcedStyle: be_nil
+ SupportedStyles:
+ - be
+ - be_nil
VersionAdded: 2.9.0
+ VersionChanged: 2.10.0
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeNil
RSpec/BeforeAfterAll:
Description: Check that before/after(:all) isn't being used.
Enabled: true
@@ -758,9 +763,19 @@
- camelCase
IgnoredPatterns: []
VersionAdded: '1.40'
VersionChanged: '1.43'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VariableName
+
+RSpec/VerifiedDoubleReference:
+ Description: Checks for consistent verified double reference style.
+ Enabled: pending
+ EnforcedStyle: constant
+ SupportedStyles:
+ - constant
+ - string
+ VersionAdded: 2.10.0
+ Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/VerifiedDoubleReference
RSpec/VerifiedDoubles:
Description: Prefer using verifying doubles over normal doubles.
Enabled: true
IgnoreNameless: true