diff --git a/spec/system/users/brouillon_spec.rb b/spec/system/users/brouillon_spec.rb index d1c3e9b713f..550b345ee05 100644 --- a/spec/system/users/brouillon_spec.rb +++ b/spec/system/users/brouillon_spec.rb @@ -674,7 +674,7 @@ def champ_past_value_for(libelle, value) def champ_for(libelle) champs = user_dossier.reload.champs_public - champs.find { |c| c.libelle == libelle } + champs.find { |c| c.libelle == libelle }.reload end def fill_individual