This commit is contained in:
Lisa Durand 2023-11-28 12:43:43 +01:00 committed by Kara Diaby
parent 303230dd1d
commit 43f5f4e030
10 changed files with 124 additions and 109 deletions

View file

@ -10,8 +10,10 @@ describe 'users/dossiers/identite', type: :view do
subject! { render }
it 'has identity fields' do
expect(rendered).to have_field(id: 'indiv_first_name')
expect(rendered).to have_field(id: 'indiv_last_name')
within('.individual-infos') do
expect(rendered).to have_field(id: 'Prenom')
expect(rendered).to have_field(id: 'Nom')
end
end
context 'when the demarche asks for the birthdate' do