config/default.yml in rubocop-rspec-2.3.0 vs config/default.yml in rubocop-rspec-2.4.0
- old
+ new
@@ -349,10 +349,16 @@
Description: Checks for before/around/after hooks that come after an example.
Enabled: true
VersionAdded: '1.29'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/HooksBeforeExamples
+RSpec/IdenticalEqualityAssertion:
+ Description: Checks for equality assertions with identical expressions on both sides.
+ Enabled: pending
+ VersionAdded: '2.4'
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/IdenticalEqualityAssertion
+
RSpec/ImplicitBlockExpectation:
Description: Check that implicit block expectation syntax is not used.
Enabled: true
VersionAdded: '1.35'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ImplicitBlockExpectation
@@ -750,9 +756,15 @@
- spec/factories/**/*.rb
- features/support/factories/**/*.rb
VersionAdded: '1.37'
VersionChanged: '2.0'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/FactoryClassName
+
+RSpec/Rails/AvoidSetupHook:
+ Description: Checks that tests use RSpec `before` hook over Rails `setup` method.
+ Enabled: pending
+ VersionAdded: '2.4'
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/AvoidSetupHook
RSpec/Rails/HttpStatus:
Description: Enforces use of symbolic or numeric value to describe HTTP status.
Enabled: true
EnforcedStyle: symbolic