mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix random CI failure due to non-deterministic sorting order
https://buildkite.com/rails/rails/builds/64281#b6f8859b-ee39-40d7-8f0a-d0ba78efbf03/1001-1012
This commit is contained in:
parent
1853f91a8d
commit
9d9c749a72
1 changed files with 1 additions and 1 deletions
|
@ -771,7 +771,7 @@ class CalculationsTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_pluck_with_join
|
||||
assert_equal [[2, 2], [4, 4]], Reply.includes(:topic).pluck(:id, :"topics.id")
|
||||
assert_equal [[2, 2], [4, 4]], Reply.includes(:topic).order(:id).pluck(:id, :"topics.id")
|
||||
end
|
||||
|
||||
def test_group_by_with_order_by_virtual_count_attribute
|
||||
|
|
Loading…
Reference in a new issue