Fix Flipper stubs

This commit is contained in:
Matt-Yorkley
2021-11-11 17:47:31 +00:00
committed by Jean-Baptiste Bellet
parent 1089ded2a2
commit ac317bc3ce

View File

@@ -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