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:
commit
e2e34eaf85
1 changed files with 1 additions and 1 deletions
|
@ -2244,7 +2244,7 @@ class RelationTest < ActiveRecord::TestCase
|
||||||
mary = authors(:mary)
|
mary = authors(:mary)
|
||||||
|
|
||||||
authors = Author.where(name: ["David", "Mary"].to_set)
|
authors = Author.where(name: ["David", "Mary"].to_set)
|
||||||
assert_equal [david, mary], authors
|
assert_equal [david, mary], authors.order(:id)
|
||||||
end
|
end
|
||||||
|
|
||||||
test "#where with empty set" do
|
test "#where with empty set" do
|
||||||
|
|
Loading…
Reference in a new issue