Merge pull request #46 from u2ix/master

Fix failing spec test
This commit is contained in:
Matt Rogers 2011-10-21 13:22:58 -07:00
commit 2a8a2a0cb8

View file

@ -11,7 +11,7 @@ describe Context do
it 'has many users' do
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_include(:project)
end