Enable all the Security cops
This commit is contained in:
parent
536226d01e
commit
b5b73c8639
2 changed files with 5 additions and 7 deletions
|
@ -769,19 +769,19 @@ RSpec/Focused:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
Security/Eval:
|
Security/Eval:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Security/JSONLoad:
|
Security/JSONLoad:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Security/MarshalLoad:
|
Security/MarshalLoad:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Security/Open:
|
Security/Open:
|
||||||
Enabled: true
|
Enabled: true
|
||||||
|
|
||||||
Security/YAMLLoad:
|
Security/YAMLLoad:
|
||||||
Enabled: false
|
Enabled: true
|
||||||
|
|
||||||
Style/Alias:
|
Style/Alias:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
|
|
@ -31,9 +31,7 @@ RSpec.describe AutoArchiveProcedureJob, type: :job do
|
||||||
before do
|
before do
|
||||||
subject
|
subject
|
||||||
|
|
||||||
(1..9).each do |i|
|
[dossier1, dossier2, dossier3, dossier4, dossier5, dossier6, dossier7, dossier8, dossier9].each(&:reload)
|
||||||
eval "dossier#{i}.reload"
|
|
||||||
end
|
|
||||||
|
|
||||||
procedure_hier.reload
|
procedure_hier.reload
|
||||||
procedure_aujourdhui.reload
|
procedure_aujourdhui.reload
|
||||||
|
|
Loading…
Reference in a new issue