config/default.yml in rubocop-rspec-1.11.0 vs config/default.yml in rubocop-rspec-1.12.0
- old
+ new
@@ -15,10 +15,18 @@
RSpec/BeEql:
Description: Check for expectations where `be(...)` can replace `eql(...)`.
Enabled: true
+RSpec/BeforeAfterAll:
+ Description: Check that before/after(:all) isn't being used.
+ Enabled: true
+ Exclude:
+ - spec/spec_helper.rb
+ - spec/rails_helper.rb
+ - spec/support/**/*.rb
+
RSpec/DescribeClass:
Description: Check that the first argument to the top level describe is a constant.
Enabled: true
RSpec/DescribedClass:
@@ -87,9 +95,13 @@
Enabled: true
EnforcedStyle: is_expected
SupportedStyles:
- is_expected
- should
+
+RSpec/InstanceSpy:
+ Description: Checks for `instance_double` used with `have_received`.
+ Enabled: true
RSpec/InstanceVariable:
Description: Checks for instance variable usage in specs.
AssignmentOnly: false
Enabled: true