mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-03 22:06:07 +00:00
Merge pull request #5543 from luisramos0/product_stock
[Spree 2.1] Fix product_stock spec
This commit is contained in:
@@ -5,7 +5,7 @@ describe ProductStock do
|
||||
|
||||
context "when product has no variants" do
|
||||
before do
|
||||
product.variants.first.destroy
|
||||
product.variants.destroy
|
||||
product.variants.reload
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user