Merge pull request #7760 from betagouv/dsfr-dossier-top-form

DSFR: convert dossier top form elements
This commit is contained in:
Colin Darie 2022-09-21 16:44:51 +02:00 committed by GitHub
commit 9b929c86ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
27 changed files with 172 additions and 82 deletions

View file

@ -30,7 +30,7 @@ describe 'instructeurs/dossiers/show.html.haml', type: :view do
end
it 'fills the individual with the informations from France Connect' do
expect(rendered).to have_text("Le dossier a été déposé par le compte de #{france_connect_information.given_name} #{france_connect_information.family_name}, authentifié par France Connect le #{france_connect_information.updated_at.strftime('%d/%m/%Y')}")
expect(view.content_for(:notice_info)).to have_text("Le dossier a été déposé par le compte de #{france_connect_information.given_name} #{france_connect_information.family_name}, authentifié par FranceConnect le #{france_connect_information.updated_at.strftime('%d/%m/%Y')}")
end
end