mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Address intermittent CI failure due to non-determined sort order
https://buildkite.com/rails/rails/builds/75259#9d1a409b-e2b0-4d0b-a38e-71cfa715c779/1068-1079
This commit is contained in:
parent
146f0e7847
commit
bf594186b8
2 changed files with 4 additions and 4 deletions
|
@ -16,8 +16,8 @@ class InnerJoinAssociationTest < ActiveRecord::TestCase
|
|||
:taggings, :tags, :people
|
||||
|
||||
def test_construct_finder_sql_applies_aliases_tables_on_association_conditions
|
||||
result = Author.joins(:thinking_posts, :welcome_posts).to_a
|
||||
assert_equal authors(:david), result.first
|
||||
result = Author.joins(:thinking_posts, :welcome_posts).first
|
||||
assert_equal authors(:david), result
|
||||
end
|
||||
|
||||
def test_construct_finder_sql_does_not_table_name_collide_on_duplicate_associations
|
||||
|
|
|
@ -22,8 +22,8 @@ class LeftOuterJoinAssociationTest < ActiveRecord::TestCase
|
|||
end
|
||||
|
||||
def test_construct_finder_sql_applies_aliases_tables_on_association_conditions
|
||||
result = Author.left_outer_joins(:thinking_posts, :welcome_posts).to_a
|
||||
assert_equal authors(:david), result.first
|
||||
result = Author.left_outer_joins(:thinking_posts, :welcome_posts).first
|
||||
assert_equal authors(:david), result
|
||||
end
|
||||
|
||||
def test_construct_finder_sql_does_not_table_name_collide_on_duplicate_associations
|
||||
|
|
Loading…
Reference in a new issue