mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-26 01:33:22 +00:00
Disable Rails/OutputSafety for specs
This cop is to protect against user input. There's no user input (or users) in specs.
This commit is contained in:
@@ -70,6 +70,10 @@ Rails/SkipsModelValidations:
|
||||
- "update_column"
|
||||
- "update_columns"
|
||||
|
||||
Rails/OutputSafety:
|
||||
Exclude:
|
||||
- 'spec/**/*'
|
||||
|
||||
Style/Documentation:
|
||||
Enabled: false
|
||||
|
||||
|
||||
Reference in New Issue
Block a user