Set initial on_hand to 0

This commit is contained in:
Rob Harrington
2014-10-02 18:01:46 +10:00
parent 971723964e
commit 89afbc80a6

View File

@@ -14,7 +14,7 @@ module Spree
describe "finding variants in stock" do
before do
p = create(:product)
p = create(:product, on_hand: 0)
@v_in_stock = create(:variant, product: p)
@v_on_demand = create(:variant, product: p, on_demand: true)
@v_no_stock = create(:variant, product: p)