diff --git a/spec/models/spree/order_populator_spec.rb b/spec/models/spree/order_populator_spec.rb index bfe2e123f8..5602e46da5 100644 --- a/spec/models/spree/order_populator_spec.rb +++ b/spec/models/spree/order_populator_spec.rb @@ -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)