From fcb3bc894b18fb6e43a1b00f5b4413b19a3173b6 Mon Sep 17 00:00:00 2001 From: Rob Harrington Date: Thu, 2 Oct 2014 18:35:37 +1000 Subject: [PATCH] Cleanup --- spec/models/spree/variant_spec.rb | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/spec/models/spree/variant_spec.rb b/spec/models/spree/variant_spec.rb index eec2868453..c038bf4598 100644 --- a/spec/models/spree/variant_spec.rb +++ b/spec/models/spree/variant_spec.rb @@ -239,19 +239,6 @@ module Spree end end - context "when the product does not have variants" do - let(:product) { create(:simple_product) } - let(:variant) { product.master } - - it "requires unit value and/or unit description" do - variant.unit_value = nil - variant.unit_description = nil - variant.should be_invalid - variant.unit_value = 1 - variant.should be_valid - end - end - describe "unit value/description" do describe "getting name for display" do it "returns display_name if present" do