aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/associations_test.rb
diff options
context:
space:
mode:
authorJeremy Kemper <jeremy@bitsweat.net>2007-12-27 11:16:39 +0000
committerJeremy Kemper <jeremy@bitsweat.net>2007-12-27 11:16:39 +0000
commit240b4c527e7b2b6b57767fcb74b540b50a0a11af (patch)
tree238c9ce0504d995a5368718e5e41a2fa81b568a2 /activerecord/test/associations_test.rb
parente781faddca7523c6b700d03887b6603488128ced (diff)
downloadrails-240b4c527e7b2b6b57767fcb74b540b50a0a11af.tar.gz
rails-240b4c527e7b2b6b57767fcb74b540b50a0a11af.tar.bz2
rails-240b4c527e7b2b6b57767fcb74b540b50a0a11af.zip
Ruby 1.9 compat: attribute methods
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8486 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'activerecord/test/associations_test.rb')
-rwxr-xr-xactiverecord/test/associations_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/associations_test.rb b/activerecord/test/associations_test.rb
index e35233a1b8..88b9020753 100755
--- a/activerecord/test/associations_test.rb
+++ b/activerecord/test/associations_test.rb
@@ -2033,7 +2033,7 @@ class HasAndBelongsToManyAssociationsTest < Test::Unit::TestCase
end
def test_get_ids
- assert_equal projects(:active_record, :action_controller).map(&:id), developers(:david).project_ids
+ assert_equal projects(:active_record, :action_controller).map(&:id).sort, developers(:david).project_ids.sort
assert_equal [projects(:active_record).id], developers(:jamis).project_ids
end