config/default.yml in rubocop-rspec-1.43.2 vs config/default.yml in rubocop-rspec-1.44.0
- old
+ new
@@ -74,11 +74,27 @@
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording
RSpec/DescribeClass:
Description: Check that the first argument to the top-level describe is a constant.
Enabled: true
+ IgnoredMetadata:
+ type:
+ - channel
+ - controller
+ - helper
+ - job
+ - mailer
+ - model
+ - request
+ - routing
+ - view
+ - feature
+ - system
+ - mailbox
+ - aruba
VersionAdded: '1.0'
+ VersionChanged: '1.44'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass
RSpec/DescribeMethod:
Description: Checks that the second argument to `describe` specifies a method.
Enabled: true
@@ -492,10 +508,16 @@
Description: Check for repeated example group descriptions.
Enabled: true
VersionAdded: '1.38'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedExampleGroupDescription
+RSpec/RepeatedIncludeExample:
+ Description: Check for repeated include of shared examples.
+ Enabled: true
+ VersionAdded: '1.44'
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedIncludeExample
+
RSpec/ReturnFromStub:
Description: Checks for consistent style of stub's return setting.
Enabled: true
EnforcedStyle: and_return
SupportedStyles:
@@ -534,9 +556,15 @@
Description: Checks that chains of messages contain more than one element.
Enabled: true
VersionAdded: '1.9'
VersionChanged: '1.10'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SingleArgumentMessageChain
+
+RSpec/StubbedMock:
+ Description: Checks that message expectations do not have a configured response.
+ Enabled: pending
+ VersionAdded: '1.44'
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StubbedMock
RSpec/SubjectStub:
Description: Checks for stubbed test subjects.
Enabled: true
VersionAdded: '1.7'