1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
This commit is contained in:
Alexander Balashov 2013-03-28 17:45:14 +04:00
parent 5533994b33
commit cfe92c8fd7

View file

@ -19,7 +19,7 @@ class EachTest < ActiveRecord::TestCase
end
end
def test_each_should_not_return_query_chain_and_execcute_only_one_query
def test_each_should_not_return_query_chain_and_execute_only_one_query
assert_queries(1) do
result = Post.find_each(:batch_size => 100000){ }
assert_nil result