Correct typo in spec which lead to flakiness

I'm not sure why this spec passed on CI when it was retried but it was
obviously wrong. Correcting that copy&paste error seems to make the spec
pass.
This commit is contained in:
Maikel Linke
2022-08-29 14:39:43 +10:00
parent 07018370e0
commit ee7dc821ca

View File

@@ -129,7 +129,7 @@ describe SplitCheckoutController, type: :controller do
it "don't updates default ship address on user" do
expect {
put :update, params: params.merge({ order: { save_bill_address: "0" } })
put :update, params: params.merge({ order: { save_ship_address: "0" } })
}.to_not change {
order.user.reload.ship_address
}