diff options
-rw-r--r-- | activerecord/test/cases/associations/has_many_through_associations_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
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 788177ee15..45087fdf8a 100644 --- a/activerecord/test/cases/associations/has_many_through_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb @@ -40,6 +40,7 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase post = Post.includes(:scategories).first post2 = Post.includes(:categories).first + assert_operator post.categories.length, :>, 0 assert_equal post2.categories, post.categories end |