aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord
diff options
context:
space:
mode:
authorAaron Patterson <aaron.patterson@gmail.com>2010-10-15 15:47:09 -0700
committerAaron Patterson <aaron.patterson@gmail.com>2010-10-15 15:47:09 -0700
commitdc76e3c38f8c58c492fa69ccaca43a9499f95588 (patch)
treeb8bb900d799c1da2850ea91829d62e8247c4783b /activerecord
parent552636c65240c7104054d0a4ef63cde9622d838d (diff)
downloadrails-dc76e3c38f8c58c492fa69ccaca43a9499f95588.tar.gz
rails-dc76e3c38f8c58c492fa69ccaca43a9499f95588.tar.bz2
rails-dc76e3c38f8c58c492fa69ccaca43a9499f95588.zip
should sort these ids before asserting they are equal!
Diffstat (limited to 'activerecord')
-rw-r--r--activerecord/test/cases/base_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/base_test.rb b/activerecord/test/cases/base_test.rb
index d9c7aa16c1..8acee9ac71 100644
--- a/activerecord/test/cases/base_test.rb
+++ b/activerecord/test/cases/base_test.rb
@@ -50,7 +50,7 @@ class BasicsTest < ActiveRecord::TestCase
def test_select_symbol
topic_ids = Topic.select(:id).map(&:id).sort
- assert_equal Topic.find(:all).map(&:id), topic_ids
+ assert_equal Topic.find(:all).map(&:id).sort, topic_ids
end
def test_table_exists