Updating name of spec

This commit is contained in:
Rob Harrington
2015-01-29 12:43:40 +11:00
parent 7596270154
commit 2d7fb3fd67

View File

@@ -61,7 +61,7 @@ module Spree
end
it "does not allow only standard variant to be deleted" do
it "does not allow the last variant to be deleted" do
product = create(:simple_product)
expect(product.variants(:reload).length).to eq 1
product.variants = []