1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Merge pull request #41528 from yahonda/pg_where_with_set

Address CI failure due to non-determined sort order
This commit is contained in:
Ryuta Kamizono 2021-02-23 21:13:55 +09:00 committed by GitHub
commit e2e34eaf85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2244,7 +2244,7 @@ class RelationTest < ActiveRecord::TestCase
mary = authors(:mary)
authors = Author.where(name: ["David", "Mary"].to_set)
assert_equal [david, mary], authors
assert_equal [david, mary], authors.order(:id)
end
test "#where with empty set" do