提交 4074c06c 编写于 作者: R Ryuta Kamizono

Merge pull request #36526 from yahonda/test_statement_cache_with_in_clause_pg

Address test_statement_cache_with_in_clause failure
上级 fde44014
......@@ -70,7 +70,7 @@ def test_statement_cache_with_find_by
def test_statement_cache_with_in_clause
@connection.clear_cache!
topics = Topic.where(id: [1, 3])
topics = Topic.where(id: [1, 3]).order(:id)
assert_equal [1, 3], topics.map(&:id)
assert_not_includes statement_cache, to_sql_key(topics.arel)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册