Skip to content

Commit

Permalink
Delete spec used to test product distributions (removed feature)
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Mar 12, 2019
1 parent e59d5b5 commit e055c8b
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions spec/models/spree/product_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e055c8b

Please sign in to comment.