Permalink
Browse files

um.. yeah

  • Loading branch information...
1 parent 6d66dda commit 52e15abbedab9ef6f3db03ef39fe5cbab9c3ddde @jeremy jeremy committed Aug 26, 2008
@@ -647,7 +647,7 @@ def test_assign_ids
developer.save
developer.reload
assert_equal 2, developer.projects.length
- assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids
+ assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids.sort
end
def test_assign_ids_ignoring_blanks
@@ -656,7 +656,7 @@ def test_assign_ids_ignoring_blanks
developer.save
developer.reload
assert_equal 2, developer.projects.length
- assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids
+ assert_equal [projects(:active_record), projects(:action_controller)].map(&:id).sort, developer.project_ids.sort
end
def test_select_limited_ids_list

0 comments on commit 52e15ab

Please sign in to comment.