fix a flaky test

This commit is contained in:
Eric Leroy-Terquem 2024-07-22 16:29:20 +02:00
parent e413c0881e
commit a04749c3ef
No known key found for this signature in database
GPG key ID: 53D8FAECEF207605

View file

@ -674,7 +674,8 @@ describe 'The user' do
def champ_for(libelle)
champs = user_dossier.reload.champs_public
champs.find { |c| c.libelle == libelle }
champ = champs.find { |c| c.libelle == libelle }
champ.reload
end
def fill_individual