add mention if user_deleted and move dossier info back to info_generales
This commit is contained in:
parent
90a7ecef52
commit
76947a5ccf
5 changed files with 19 additions and 26 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue