Skip to content

Commit

Permalink
Merge pull request rails#36526 from yahonda/test_statement_cache_with…
Browse files Browse the repository at this point in the history
…_in_clause_pg

Address test_statement_cache_with_in_clause failure
  • Loading branch information
kamipo authored and JesseChavez committed Dec 19, 2019
1 parent 4abfcce commit ff52f53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/bind_parameter_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit ff52f53

Please sign in to comment.