Skip to content

Commit

Permalink
fix a flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
E-L-T committed Jul 22, 2024
1 parent dc63d06 commit a342716
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion spec/system/users/brouillon_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -674,7 +674,8 @@ def champ_past_value_for(libelle, value)

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
Expand Down

0 comments on commit a342716

Please sign in to comment.