We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bbe1a9b commit 82fc7cdCopy full SHA for 82fc7cd
activerecord/test/cases/associations/has_many_associations_test.rb
@@ -2002,8 +2002,8 @@ def test_dynamic_find_should_respect_association_order_for_through
2002
end
2003
2004
def test_has_many_through_respects_hash_conditions
2005
- assert_equal authors(:david).hello_posts, authors(:david).hello_posts_with_hash_conditions
2006
- assert_equal authors(:david).hello_post_comments, authors(:david).hello_post_comments_with_hash_conditions
+ assert_equal authors(:david).hello_posts.sort_by(&:id), authors(:david).hello_posts_with_hash_conditions.sort_by(&:id)
+ assert_equal authors(:david).hello_post_comments.sort_by(&:id), authors(:david).hello_post_comments_with_hash_conditions.sort_by(&:id)
2007
2008
2009
def test_include_uses_array_include_after_loaded
0 commit comments