Oops. Remove debug information inside a test from the previous commit

This commit is contained in:
Pratik Naik
2009-12-29 04:33:37 +05:30
parent 08633bae5e
commit 078ea0dfbd

View File

@@ -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