fix a flaky test
This commit is contained in:
parent
e413c0881e
commit
a04749c3ef
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue