mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Stub scope_to_hub in spec that wasn't expecting it
This commit is contained in:
@@ -48,6 +48,7 @@ module Spree
|
||||
describe "attempt_cart_add" do
|
||||
it "performs additional validations" do
|
||||
variant = double(:variant)
|
||||
variant.stub(:scope_to_hub)
|
||||
quantity = 123
|
||||
Spree::Variant.stub(:find).and_return(variant)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user