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:
parent
552636c652
commit
dc76e3c38f
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue