mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-03 02:21:33 +00:00
Delete spec used to test product distributions (removed feature)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user