aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/batches_test.rb
diff options
context:
space:
mode:
authorVipul A M <vipulnsward@gmail.com>2013-03-19 00:04:39 +0530
committerVipul A M <vipulnsward@gmail.com>2013-03-19 00:04:39 +0530
commit55686dd1be37d6eb57dc086e4bc72922f49b2e17 (patch)
tree9a2e76c1384936fa2f5382d9251cd439b71c168c /activerecord/test/cases/batches_test.rb
parent4e7292c0262ae70d968e0732bb6fea627646feef (diff)
downloadrails-55686dd1be37d6eb57dc086e4bc72922f49b2e17.tar.gz
rails-55686dd1be37d6eb57dc086e4bc72922f49b2e17.tar.bz2
rails-55686dd1be37d6eb57dc086e4bc72922f49b2e17.zip
fix typos in AR. lots of them.
Diffstat (limited to 'activerecord/test/cases/batches_test.rb')
-rw-r--r--activerecord/test/cases/batches_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/batches_test.rb b/activerecord/test/cases/batches_test.rb
index acb8b5f562..87559925e7 100644
--- a/activerecord/test/cases/batches_test.rb
+++ b/activerecord/test/cases/batches_test.rb
@@ -11,7 +11,7 @@ class EachTest < ActiveRecord::TestCase
Post.count('id') # preheat arel's table cache
end
- def test_each_should_excecute_one_query_per_batch
+ def test_each_should_execute_one_query_per_batch
assert_queries(Post.count + 1) do
Post.find_each(:batch_size => 1) do |post|
assert_kind_of Post, post