fix(spec): at least let us start from a green suite

This commit is contained in:
Martin 2021-11-18 18:15:57 +01:00
parent df474b60cf
commit 646459a1da

View file

@ -529,12 +529,12 @@ class Dossier < ApplicationRecord
if brouillon? if brouillon?
created_at created_at
elsif en_construction? elsif en_construction?
en_construction en_construction_at
elsif en_instruction? elsif en_instruction?
en_instruction en_instruction_at
else else
processed_at processed_at
end + conservation_extension + duree_conservation_dossiers_dans_ds.months - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks end + conservation_extension + procedure.duree_conservation_dossiers_dans_ds.months - REMAINING_WEEKS_BEFORE_EXPIRATION.weeks
end end
def duration_after_notice def duration_after_notice