config/default.yml in rubocop-rspec-1.22.2 vs config/default.yml in rubocop-rspec-1.23.0
- old
+ new
@@ -366,5 +366,19 @@
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
+ SupportedStyles:
+ - numeric
+ - symbolic
+ StyleGuide: http://www.rubydoc.info/gems/rubocop-rspec/RuboCop/Cop/RSpec/Rails/HttpStatus