Skip to content

Commit

Permalink
Fix flaky test
Browse files Browse the repository at this point in the history
  • Loading branch information
Hassanmir92 committed Dec 2, 2024
1 parent b401038 commit 02b3e50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/forms/support_interface/country_form_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,7 @@
it "sets has_regions to true" do
expect(subject).to have_attributes(
has_regions: true,
region_names: "Madrid\nBarcelona",
region_names: country.reload.regions.map(&:name).join("\n"),
)
end
end
Expand Down

0 comments on commit 02b3e50

Please sign in to comment.