Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Remove extre count, preheat already happens during setup

  • Loading branch information...
commit 9fdf606954a61658b166b48d795313c33957b2c1 1 parent 92bae49
@carlosantoniodasilva carlosantoniodasilva authored
Showing with 0 additions and 1 deletion.
  1. +0 −1  activerecord/test/cases/batches_test.rb
View
1  activerecord/test/cases/batches_test.rb
@@ -138,7 +138,6 @@ def test_find_in_batches_should_use_any_column_as_primary_key
end
def test_find_in_batches_should_use_any_column_as_primary_key_when_start_is_not_specified
- Subscriber.count('nick') # preheat arel's table cache
assert_queries(Subscriber.count + 1) do
Subscriber.find_each(:batch_size => 1) do |subscriber|
assert_kind_of Subscriber, subscriber
Please sign in to comment.
Something went wrong with that request. Please try again.