config/default.yml in rubocop-rspec-1.3.1 vs config/default.yml in rubocop-rspec-1.4.0
- old
+ new
@@ -1,5 +1,9 @@
+RSpec/AnyInstance:
+ Description: 'Check that instances are not being stubbed globally'
+ Enabled: true
+
RSpec/DescribeClass:
Description: 'Check that the first argument to the top level describe is the tested class or module.'
Enabled: true
RSpec/DescribedClass:
@@ -36,5 +40,10 @@
RSpec: rspec
RSpec/VerifiedDoubles:
Description: 'Prefer using verifying doubles over normal doubles.'
Enabled: false
+
+RSpec/NotToNot:
+ Description: 'Enforces the usage of the same method on all negative message expectations.'
+ Enabled: true
+ AcceptedMethod: 'not_to'