mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-27 01:43:22 +00:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user