config/default.yml in rubocop-rspec-2.29.2 vs config/default.yml in rubocop-rspec-2.30.0
- old
+ new
@@ -445,9 +445,15 @@
Description: Do not use `expect` in hooks such as `before`.
Enabled: true
VersionAdded: '1.16'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectInHook
+RSpec/ExpectInLet:
+ Description: Do not use `expect` in let.
+ Enabled: pending
+ VersionAdded: '2.30'
+ Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectInLet
+
RSpec/ExpectOutput:
Description: Checks for opportunities to use `expect { ... }.to output`.
Enabled: true
VersionAdded: '1.10'
Reference: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ExpectOutput