From 8a0086609915bc666d08ff416717950da1b6b8da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rafael=20Mendon=C3=A7a=20Fran=C3=A7a?= Date: Sun, 27 Oct 2013 18:10:27 -0200 Subject: Assert the return value in the test --- .../test/cases/associations/has_many_through_associations_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'activerecord') 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 b1e823729e..c450b1beb5 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 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase 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 -- cgit v1.2.3