diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-27 18:10:27 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2013-10-27 18:11:00 -0200 |
commit | 8a0086609915bc666d08ff416717950da1b6b8da (patch) | |
tree | cca74bfa791964ac20a055aa84e638989c8da554 /activerecord | |
parent | e17979e4f7cbf917d59a7cc515b77566e31afff6 (diff) | |
download | rails-8a0086609915bc666d08ff416717950da1b6b8da.tar.gz rails-8a0086609915bc666d08ff416717950da1b6b8da.tar.bz2 rails-8a0086609915bc666d08ff416717950da1b6b8da.zip |
Assert the return value in the test
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/has_many_through_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 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 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 |