1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

should sort these ids before asserting they are equal!

This commit is contained in:
Aaron Patterson 2010-10-15 15:47:09 -07:00
parent 552636c652
commit dc76e3c38f

View file

@ -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