add mention if user_deleted and move dossier info back to info_generales

This commit is contained in:
Lisa Durand 2023-02-23 15:00:59 +01:00
parent 90a7ecef52
commit 76947a5ccf
5 changed files with 19 additions and 26 deletions

View file

@ -35,7 +35,7 @@ describe 'instructeurs/dossiers/show.html.haml', type: :view do
let(:dossier) { create :dossier, :accepte, :with_attestation }
it 'provides a link to the attestation' do
expect(subject).to have_text('Cette attestation a été envoyée automatiquement au demandeur.')
expect(subject).to have_text('Attestation')
expect(subject).to have_link(href: attestation_instructeur_dossier_path(dossier.procedure, dossier))
end
end