From ac317bc3cebd2f3ef3975f783a678ae07e114187 Mon Sep 17 00:00:00 2001 From: Matt-Yorkley <9029026+Matt-Yorkley@users.noreply.github.com> Date: Thu, 11 Nov 2021 17:47:31 +0000 Subject: [PATCH] Fix Flipper stubs --- spec/system/consumer/split_checkout_spec.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/spec/system/consumer/split_checkout_spec.rb b/spec/system/consumer/split_checkout_spec.rb index 1b341c6d5e..fb3df41274 100644 --- a/spec/system/consumer/split_checkout_spec.rb +++ b/spec/system/consumer/split_checkout_spec.rb @@ -49,7 +49,9 @@ describe "As a consumer, I want to checkout my order", js: true do end before do + allow(Flipper).to receive(:enabled?).with(:split_checkout).and_return(true) allow(Flipper).to receive(:enabled?).with(:split_checkout, anything).and_return(true) + add_enterprise_fee enterprise_fee set_order order add_product_to_cart order, product