config/default.yml in rubocop-rspec-1.27.0 vs config/default.yml in rubocop-rspec-1.28.0
- old
+ new
@@ -260,10 +260,15 @@
SupportedStyles:
- have_received
- receive
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MessageSpies
+RSpec/MissingExampleGroupArgument:
+ Description: Checks that the first argument to an example group is not empty.
+ Enabled: true
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MissingExampleGroupArgument
+
RSpec/MultipleDescribes:
Description: Checks for multiple top level describes.
Enabled: true
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/MultipleDescribes
@@ -312,10 +317,15 @@
RSpec/ReceiveCounts:
Enabled: true
Description: Check for `once` and `twice` receive counts matchers usage.
StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ReceiveCounts
+RSpec/ReceiveNever:
+ Enabled: true
+ Description: Prefer `not_to receive(...)` over `receive(...).never`.
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/ReceiveNever
+
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
@@ -393,27 +403,22 @@
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/AttributeDefinedStatically:
+ Description: Always declare attribute values as blocks.
+ Enabled: true
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/AttributeDefinedStatically
+
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
-
-FactoryBot/StaticAttributeDefinedDynamically:
- Description: Prefer declaring static attribute values without a block.
- Enabled: true
- StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/FactoryBot/StaticAttributeDefinedDynamically
Rails/HttpStatus:
Description: Enforces use of symbolic or numeric value to describe HTTP status.
Enabled: true
EnforcedStyle: symbolic