config/default.yml in rubocop-rspec-1.8.0 vs config/default.yml in rubocop-rspec-1.9.0
- old
+ new
@@ -101,10 +101,18 @@
EnforcedStyle: allow
SupportedStyles:
- allow
- expect
+RSpec/MessageSpies:
+ Description: Checks that message expectations are set using spies.
+ Enabled: true
+ EnforcedStyle: have_received
+ SupportedStyles:
+ - have_received
+ - receive
+
RSpec/MultipleDescribes:
Description: Checks for multiple top level describes.
Enabled: true
RSpec/MultipleExpectations:
@@ -125,9 +133,17 @@
Description: Checks for consistent method usage for negating expectations.
EnforcedStyle: not_to
SupportedStyles:
- not_to
- to_not
+ Enabled: true
+
+RSpec/RepeatedDescription:
+ Enabled: true
+ Description: Check for repeated description strings in example groups.
+
+RSpec/SingleArgumentMessageChain:
+ Description: Checks that chains of messages contain more than one element.
Enabled: true
RSpec/SubjectStub:
Description: Checks for stubbed test subjects.
Enabled: true