Skip to content

Commit

Permalink
Fix test expectation
Browse files Browse the repository at this point in the history
  • Loading branch information
tomdonarski committed Nov 16, 2023
1 parent a24279c commit 5db21f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/controllers/spree/admin/promotions_controller_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
it "calls the duplication service" do
expect(CreatePromotionBatch)
.to receive(:call)
.with(promotion1.id, batch_size)
.with(promotion1, batch_size)

subject
end
Expand Down

0 comments on commit 5db21f3

Please sign in to comment.