Fix failing spec test, due to commit 09e0f64

This commit is contained in:
Demian Gemperli 2011-10-21 22:16:51 +02:00
parent cf62c91ee0
commit eda521d238

View file

@ -11,7 +11,7 @@ describe Context do
it 'has many users' do it 'has many users' do
Context.should have_many(:todos). Context.should have_many(:todos).
with_order('todos.completed_at DESC'). with_order('todos.due IS NULL, todos.due ASC, todos.created_at ASC').
with_dependent(:delete_all). with_dependent(:delete_all).
with_include(:project) with_include(:project)
end end