Fix minor test fail

This commit is contained in:
Rohan Mitchell
2013-05-28 13:01:48 +10:00
parent 1b25364160
commit 46fd94eded

View File

@@ -160,7 +160,7 @@ module OpenFoodWeb
applicator.send(:update_exchange, sender.id, receiver.id, {:variant_ids => [variant1.id, variant3.id]})
exchange.reload
exchange.variant_ids.should == [variant1.id, variant3.id]
exchange.variant_ids.sort.should == [variant1.id, variant3.id].sort
applicator.send(:touched_exchanges).should == [exchange]
end
end