提交 bef8abaf 编写于 作者: R Ryuta Kamizono

Merge pull request #36378 from yahonda/test_pluck_columns_with_same_name

Address occasional test_pluck_columns_with_same_name failure
上级 e06b6571
......@@ -808,7 +808,7 @@ def test_pluck_replaces_select_clause
def test_pluck_columns_with_same_name
expected = [["The First Topic", "The Second Topic of the day"], ["The Third Topic of the day", "The Fourth Topic of the day"]]
actual = Topic.joins(:replies)
actual = Topic.joins(:replies).order(:id)
.pluck("topics.title", "replies_topics.title")
assert_equal expected, actual
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册