Skip to content

Commit

Permalink
Fix random CI failure due to non-deterministic sorting order
Browse files Browse the repository at this point in the history
  • Loading branch information
giraffate committed Oct 17, 2019
1 parent 678b59a commit 2fdea2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion activerecord/test/cases/relations_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2057,7 +2057,7 @@ def test_locked_should_not_build_arel
end

def test_relation_join_method
assert_equal "Thank you for the welcome,Thank you again for the welcome", Post.first.comments.join(",")
assert_equal "Thank you for the welcome,Thank you again for the welcome", Post.first.comments.order(:id).join(",")
end

def test_relation_with_private_kernel_method
Expand Down

0 comments on commit 2fdea2e

Please sign in to comment.