diff --git a/activerecord/test/cases/associations/has_many_through_associations_test.rb b/activerecord/test/cases/associations/has_many_through_associations_test.rb index b1e823729e8a7a0ca08993f86ce333c022cc6c6a..c450b1beb52c14770b9ac3e39a06c2b15555ea94 100644 --- a/activerecord/test/cases/associations/has_many_through_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb @@ -1087,6 +1087,6 @@ def test_has_many_through_obeys_order_on_through_association end def test_has_many_through_with_includes_in_through_association_scope - posts(:welcome).author_address_extra_with_address.to_a + assert_not_empty posts(:welcome).author_address_extra_with_address end end