diff options
-rw-r--r-- | activerecord/test/cases/batches_test.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/activerecord/test/cases/batches_test.rb b/activerecord/test/cases/batches_test.rb index 70ceaec4f0..acb8b5f562 100644 --- a/activerecord/test/cases/batches_test.rb +++ b/activerecord/test/cases/batches_test.rb @@ -138,7 +138,6 @@ class EachTest < ActiveRecord::TestCase 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 |