mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-08 22:56:06 +00:00
Removing a pointless test
This commit is contained in:
@@ -30,13 +30,6 @@ describe OrderCycle do
|
||||
oc.exchanges.count.should == 3
|
||||
end
|
||||
|
||||
it "gives me the outgoing exchange" do
|
||||
d = create(:distributor_enterprise)
|
||||
oc = create(:simple_order_cycle, distributors: [d])
|
||||
|
||||
oc.sender.should == d
|
||||
end
|
||||
|
||||
it "finds order cycles in various stages of their lifecycle" do
|
||||
oc_active = create(:simple_order_cycle, orders_open_at: 1.week.ago, orders_close_at: 1.week.from_now)
|
||||
oc_not_yet_open = create(:simple_order_cycle, orders_open_at: 1.week.from_now, orders_close_at: 2.weeks.from_now)
|
||||
|
||||
Reference in New Issue
Block a user