mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Fix broken spec
This commit is contained in:
@@ -71,6 +71,7 @@ module Spree
|
||||
params = {variants: {"1" => {quantity: 1, max_quantity: 2}}}
|
||||
order.stub(:with_lock).and_yield
|
||||
op.stub(:varies_from_cart) { true }
|
||||
op.stub(:variants_removed) { [] }
|
||||
op.should_receive(:attempt_cart_add).with("1", 1, 2).and_return true
|
||||
op.populate(params, true)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user