config/default.yml in rubocop-rspec-2.6.0 vs config/default.yml in rubocop-rspec-2.7.0
- old
+ new
@@ -194,12 +194,13 @@
- view
- feature
- system
- mailbox
- aruba
+ - task
VersionAdded: '1.0'
- VersionChanged: '2.5'
+ VersionChanged: '2.7'
StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass
RSpec/DescribeMethod:
Description: Checks that the second argument to `describe` specifies a method.
Enabled: true
@@ -813,9 +814,16 @@
- 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/FactoryBot/SyntaxMethods:
+ Description: Use shorthands from `FactoryBot::Syntax::Methods` in your specs.
+ Enabled: pending
+ SafeAutoCorrect: false
+ VersionAdded: '2.7'
+ StyleGuide: https://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/SyntaxMethods
RSpec/Rails:
Enabled: true
Include: *1
Language: *2