提交 2fdea2e5 编写于 作者: T Takayuki Nakata

Fix random CI failure due to non-deterministic sorting order

Reference:
https://buildkite.com/rails/rails/builds/64354#206d3411-0f15-4aa4-aa25-83117ef3bcc0/1006-1017
上级 678b59aa
......@@ -2057,7 +2057,7 @@ def test_locked_should_not_build_arel
end
def test_relation_join_method
assert_equal "Thank you for the welcome,Thank you again for the welcome", Post.first.comments.join(",")
assert_equal "Thank you for the welcome,Thank you again for the welcome", Post.first.comments.order(:id).join(",")
end
def test_relation_with_private_kernel_method
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册