mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-28 21:07:16 +00:00
Delete all variants from test product not just the first one
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