diff options
author | Pratik Naik <pratiknaik@gmail.com> | 2009-12-29 04:33:37 +0530 |
---|---|---|
committer | Pratik Naik <pratiknaik@gmail.com> | 2009-12-29 04:33:37 +0530 |
commit | 078ea0dfbdfa3267da13e88536dc73aa477a162c (patch) | |
tree | 6b999593b57f61802ea444b298a302be412de65e /activerecord/test/cases | |
parent | 08633bae5e4f05e913ec5d5d2483bfd6c07c7375 (diff) | |
download | rails-078ea0dfbdfa3267da13e88536dc73aa477a162c.tar.gz rails-078ea0dfbdfa3267da13e88536dc73aa477a162c.tar.bz2 rails-078ea0dfbdfa3267da13e88536dc73aa477a162c.zip |
Oops. Remove debug information inside a test from the previous commit
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations/inner_join_association_test.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/inner_join_association_test.rb b/activerecord/test/cases/associations/inner_join_association_test.rb index 0315604106..18a1cd3cd0 100644 --- a/activerecord/test/cases/associations/inner_join_association_test.rb +++ b/activerecord/test/cases/associations/inner_join_association_test.rb @@ -81,8 +81,6 @@ class InnerJoinAssociationTest < ActiveRecord::TestCase end def test_calculate_honors_implicit_inner_joins - Author.calculate(:count, 'authors.id', :joins => :posts) - return real_count = Author.scoped.to_a.sum{|a| a.posts.count } assert_equal real_count, Author.calculate(:count, 'authors.id', :joins => :posts), "plain inner join count should match the number of referenced posts records" end |