Removing a pointless test

This commit is contained in:
Will Marshall
2014-01-06 15:56:28 +11:00
parent dd1b3311d7
commit 1264af584c

View File

@@ -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)