config/default.yml in rubocop-rspec-1.4.1 vs config/default.yml in rubocop-rspec-1.5.0
- old
+ new
@@ -39,11 +39,23 @@
RuboCop: rubocop
RSpec: rspec
RSpec/VerifiedDoubles:
Description: 'Prefer using verifying doubles over normal doubles.'
- Enabled: false
+ Enabled: true
RSpec/NotToNot:
Description: 'Enforces the usage of the same method on all negative message expectations.'
+ EnforcedStyle: not_to
+ SupportedStyles:
+ - not_to
+ - to_not
Enabled: true
- AcceptedMethod: 'not_to'
+
+RSpec/Focus:
+ Description: 'Checks if there are focused specs.'
+ Enabled: true
+
+RSpec/ExampleLength:
+ Description: 'Checks for long example'
+ Enabled: true
+ Max: 5