提交 078ea0df 编写于 作者: P Pratik Naik

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

上级 08633bae
......@@ -81,8 +81,6 @@ def test_count_honors_implicit_inner_joins
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册