diff --git a/spec/system/users/brouillon_spec.rb b/spec/system/users/brouillon_spec.rb index d1c3e9b71..39ac071cb 100644 --- a/spec/system/users/brouillon_spec.rb +++ b/spec/system/users/brouillon_spec.rb @@ -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