Ajoute a l'information de connexion France Connect dans les informations du dossier ainsi que sur la demande usager

This commit is contained in:
kara Diaby 2020-11-02 14:58:35 +01:00
parent 4b2e3b5be7
commit c033ef0910
7 changed files with 10 additions and 9 deletions

View file

@ -45,7 +45,7 @@ describe 'users/dossiers/demande.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 #{dossier.individual.prenom} #{dossier.individual.nom}, authentifié par France Connect le #{dossier.individual.updated_at.strftime('%d/%m/%Y')}")
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')}")
end
end
end