Enable all the Security cops

This commit is contained in:
gregoirenovel 2018-03-06 11:53:26 +01:00
parent 536226d01e
commit b5b73c8639
2 changed files with 5 additions and 7 deletions

View file

@ -769,19 +769,19 @@ RSpec/Focused:
Enabled: true
Security/Eval:
Enabled: false
Enabled: true
Security/JSONLoad:
Enabled: false
Enabled: true
Security/MarshalLoad:
Enabled: false
Enabled: true
Security/Open:
Enabled: true
Security/YAMLLoad:
Enabled: false
Enabled: true
Style/Alias:
Enabled: false

View file

@ -31,9 +31,7 @@ RSpec.describe AutoArchiveProcedureJob, type: :job do
before do
subject
(1..9).each do |i|
eval "dossier#{i}.reload"
end
[dossier1, dossier2, dossier3, dossier4, dossier5, dossier6, dossier7, dossier8, dossier9].each(&:reload)
procedure_hier.reload
procedure_aujourdhui.reload