fix specs

This commit is contained in:
Lisa Durand 2023-02-22 12:03:37 +01:00
parent b7a5f8bf7f
commit fddcce8b7b
9 changed files with 163 additions and 132 deletions

View file

@ -1,6 +1,6 @@
-# small expires mention
- if dossier.expirable?
%p.expires_at.mb-2
%p.expires_at.fr-mb-1w
%small= t("shared.dossiers.header.expires_at.#{dossier.state}", date: safe_expiration_date(dossier), duree_conservation_totale: dossier.duree_totale_conservation_in_months)
- if dossier.close_to_expiration?
@ -21,4 +21,3 @@
- elsif dossier.en_instruction? && dossier.procedure.procedure_expires_when_termine_enabled
%p.expires_at_en_instruction
%small= t("shared.dossiers.header.expires_at.en_instruction")