Permalink
Browse files

um.. yeah

  • Loading branch information...
1 parent 8f03357 commit 813290d87148cbed9d961672440bd8a2bd5ff80b @jeremy jeremy committed Aug 26, 2008
View
4 activerecord/test/cases/associations/has_and_belongs_to_many_associations_test.rb
@@ -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 813290d

Please sign in to comment.