Applying patch suggested by Reinier Balt and fixing the test

This commit is contained in:
waltercruz 2008-10-28 17:44:49 -02:00
parent 0b57b23b2d
commit 6d212cc21a
3 changed files with 15 additions and 14 deletions

View file

@ -224,8 +224,8 @@ class ProjectsControllerTest < TodoContainerControllerTestBase
u = users(:admin_user)
post :actionize, :state => "active", :format => 'js'
assert_equal 1, projects(:gardenclean).position
assert_equal 2, projects(:moremoney).position
assert_equal 3, projects(:timemachine).position
assert_equal 2, projects(:timemachine).position
assert_equal 3, projects(:moremoney).position
end
def test_alphabetize_sorts_active_projects_alphabetically