Do not exclude spec_helper.rb from Rails/I18nLocaleAssignment cop
Use the around action to set the desired locale so we do not break the rule.
This commit is contained in:
@@ -269,8 +269,6 @@ Rails/HttpStatus:
|
||||
|
||||
Rails/I18nLocaleAssignment:
|
||||
Enabled: true
|
||||
Exclude:
|
||||
- "spec/spec_helper.rb"
|
||||
|
||||
Rails/InverseOf:
|
||||
Enabled: true
|
||||
|
||||
Reference in New Issue
Block a user