From e055c8bc3457f739c1631b5b8631e27c564b5fe4 Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Tue, 12 Mar 2019 11:24:26 +0000 Subject: [PATCH] Delete spec used to test product distributions (removed feature) --- spec/models/spree/product_spec.rb | 8 -------- 1 file changed, 8 deletions(-) diff --git a/spec/models/spree/product_spec.rb b/spec/models/spree/product_spec.rb index dbee27cae2ac..d5831655c83a 100644 --- a/spec/models/spree/product_spec.rb +++ b/spec/models/spree/product_spec.rb @@ -257,14 +257,6 @@ module Spree Product.in_distributor(d).should be_empty end - - it "shows products in both without duplicates" do - s = create(:supplier_enterprise) - d = create(:distributor_enterprise) - p = create(:product) - create(:simple_order_cycle, suppliers: [s], distributors: [d], variants: [p.master]) - Product.in_distributor(d).should == [p] - end end describe "in_supplier_or_distributor" do