config/default.yml in rubocop-rspec-3.0.5 vs config/default.yml in rubocop-rspec-3.1.0
- old
+ new
@@ -927,9 +927,16 @@
Include:
- "**/*_spec*rb*"
- "**/spec/**/*"
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SpecFilePathSuffix
+RSpec/StringAsInstanceDoubleConstant:
+ Description: Do not use a string as `instance_double` constant.
+ Enabled: pending
+ Safe: false
+ VersionAdded: '3.1'
+ Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StringAsInstanceDoubleConstant
+
RSpec/StubbedMock:
Description: Checks that message expectations do not have a configured response.
Enabled: true
VersionAdded: '1.44'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/StubbedMock