config/default.yml in rubocop-rspec-1.9.1 vs config/default.yml in rubocop-rspec-1.10.0
- old
+ new
@@ -47,10 +47,14 @@
RSpec/ExpectActual:
Description: Checks for `expect(...)` calls containing literal values.
Enabled: true
+RSpec/ExpectOutput:
+ Description: Checks for opportunities to use `expect { ... }.to output`.
+ Enabled: true
+
RSpec/FilePath:
Description: Checks that spec file paths are consistent with the test subject.
Enabled: true
CustomTransform:
RuboCop: rubocop
@@ -125,11 +129,11 @@
Enabled: true
RSpec/NestedGroups:
Description: Checks for nested example groups.
Enabled: true
- MaxNesting: 3
+ Max: 3
RSpec/NotToNot:
Description: Checks for consistent method usage for negating expectations.
EnforcedStyle: not_to
SupportedStyles:
@@ -139,11 +143,19 @@
RSpec/RepeatedDescription:
Enabled: true
Description: Check for repeated description strings in example groups.
+RSpec/RepeatedExample:
+ Enabled: true
+ Description: Check for repeated examples within example groups.
+
RSpec/SingleArgumentMessageChain:
Description: Checks that chains of messages contain more than one element.
+ Enabled: true
+
+RSpec/ScatteredSetup:
+ Description: Checks for setup scattered across multiple hooks in an example group.
Enabled: true
RSpec/SubjectStub:
Description: Checks for stubbed test subjects.
Enabled: true