config/default.yml in rubocop-rspec-1.19.0 vs config/default.yml in rubocop-rspec-1.20.0

- old
+ new

@@ -2,11 +2,11 @@ AllCops: RSpec: Patterns: - _spec.rb - "(?:^|/)spec/" - RSpec/FactoryGirl: + RSpec/FactoryBot: Patterns: - spec/factories/**/*.rb - features/support/factories/**/*.rb RSpec/AnyInstance: @@ -41,10 +41,18 @@ - spec/spec_helper.rb - spec/rails_helper.rb - spec/support/**/*.rb StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/BeforeAfterAll +RSpec/ContextWording: + Description: "`context` block descriptions should start with 'when', or 'with'." + Enabled: true + Prefixes: + - when + - with + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ContextWording + RSpec/DescribeClass: Description: Check that the first argument to the top level describe is a constant. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/DescribeClass @@ -333,9 +341,9 @@ Capybara/FeatureMethods: Description: Checks for consistent method usage in feature specs. Enabled: true StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Capybara/FeatureMethods -FactoryGirl/DynamicAttributeDefinedStatically: +FactoryBot/DynamicAttributeDefinedStatically: Description: Prefer declaring dynamic attribute values in a block. Enabled: true - StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryGirl/DynamicAttributeDefinedStatically + StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/DynamicAttributeDefinedStatically