提交 0e109b18 编写于 作者: M Matthew Draper 提交者: GitHub

Merge pull request #30152 from bogdanvlviv/fix_random_ci_failure

Fix random CI failure due to non-deterministic sorting order
......@@ -404,7 +404,7 @@ def test_has_many_through_has_many_find_by_id
end
def test_has_many_through_polymorphic_has_one
assert_equal Tagging.find(1, 2).sort_by(&:id), authors(:david).taggings_2
assert_equal Tagging.find(1, 2).sort_by(&:id), authors(:david).taggings_2.sort_by(&:id)
end
def test_has_many_through_polymorphic_has_many
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册