From ee7dc821ca090967622891235003907cebeff479 Mon Sep 17 00:00:00 2001 From: Maikel Linke Date: Mon, 29 Aug 2022 14:39:43 +1000 Subject: [PATCH] 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. --- spec/controllers/split_checkout_controller_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/controllers/split_checkout_controller_spec.rb b/spec/controllers/split_checkout_controller_spec.rb index f05ec76563..21beeb7d24 100644 --- a/spec/controllers/split_checkout_controller_spec.rb +++ b/spec/controllers/split_checkout_controller_spec.rb @@ -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 }