fix tests

This commit is contained in:
Lisa Durand 2023-11-23 16:38:01 +01:00 committed by Kara Diaby
parent f6f18e9c86
commit d0e2f281cc
11 changed files with 31 additions and 31 deletions

View file

@ -22,8 +22,8 @@ describe 'Creating a new dossier:' do
expect(page).to have_title(libelle)
find('label', text: 'Monsieur').click
fill_in('Prénom', with: 'Prenom')
fill_in('Nom', with: 'Nom')
fill_in('dossier[individual_attributes][prenom]', with: 'prenom', visible: true)
fill_in('dossier[individual_attributes][nom]', with: 'prenom', visible: true)
end
shared_examples 'the user can create a new draft' do