Skip to content

Commit

Permalink
fix: Try to fix inconsistent tests
Browse files Browse the repository at this point in the history
  • Loading branch information
AyakorK committed Feb 5, 2024
1 parent 3846759 commit 6a26a7a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
end

it "invokes the migrator" do
expect(ActiveStorage::Migrator).to receive(:migrate!).with(:local, :scaleway).and_return(true)
expect(ActiveStorage::Migrator).to receive(:migrate!).with(:local, :scaleway).at_least(:once).and_return(true)

task.execute
end
Expand Down

0 comments on commit 6a26a7a

Please sign in to comment.