config/default.yml in rubocop-rspec-1.24.0 vs config/default.yml in rubocop-rspec-1.25.0

- old
+ new

@@ -27,10 +27,15 @@ RSpec/AlignRightLetBrace: Description: Checks that right braces for adjacent single line lets are aligned. Enabled: false StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/AlignRightLetBrace +RSpec/Be: + Description: Check for expectations where `be` is used without argument. + Enabled: true + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Be + RSpec/BeEql: Description: Check for expectations where `be(...)` can replace `eql(...)`. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeEql @@ -287,10 +292,15 @@ RSpec/OverwritingSetup: Enabled: true Description: Checks if there is a let/subject that overwrites an existing one. StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/OverwritingSetup +RSpec/Pending: + Enabled: false + Description: Checks for any pending or skipped examples. + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Pending + RSpec/RepeatedDescription: Enabled: true Description: Check for repeated description strings in example groups. StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/RepeatedDescription @@ -311,10 +321,15 @@ RSpec/SharedContext: Description: Checks for proper shared_context and shared_examples usage. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SharedContext +RSpec/SharedExamples: + Description: Enforces use of string to titleize shared examples. + Enabled: true + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SharedExamples + RSpec/SingleArgumentMessageChain: Description: Checks that chains of messages contain more than one element. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/SingleArgumentMessageChain @@ -360,10 +375,20 @@ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/CurrentPathExpectation Capybara/FeatureMethods: Description: Checks for consistent method usage in feature specs. Enabled: true + EnabledMethods: [] StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods + +FactoryBot/CreateList: + Description: Checks for create_list usage. + Enabled: true + EnforcedStyle: create_list + SupportedStyles: + - create_list + - n_times + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/CreateList FactoryBot/DynamicAttributeDefinedStatically: Description: Prefer declaring dynamic attribute values in a block. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/DynamicAttributeDefinedStatically