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