diff options
author | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 00:27:40 +0100 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2010-10-19 00:27:40 +0100 |
commit | 9ec07348749675110843c44f680da79223218db2 (patch) | |
tree | e4a356d2b6ee95232097fac21df5a04118dcc014 /activerecord/test/cases/batches_test.rb | |
parent | 78b8c51cb3b0c629152f3bbaf6d8bcf988cc936e (diff) | |
download | rails-9ec07348749675110843c44f680da79223218db2.tar.gz rails-9ec07348749675110843c44f680da79223218db2.tar.bz2 rails-9ec07348749675110843c44f680da79223218db2.zip |
Properly support conditions on any of the reflections involved in a nested through association
Diffstat (limited to 'activerecord/test/cases/batches_test.rb')
-rw-r--r-- | activerecord/test/cases/batches_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/batches_test.rb b/activerecord/test/cases/batches_test.rb index 70883ad30f..9e72ac4250 100644 --- a/activerecord/test/cases/batches_test.rb +++ b/activerecord/test/cases/batches_test.rb @@ -24,7 +24,7 @@ class EachTest < ActiveRecord::TestCase end def test_each_should_execute_if_id_is_in_select - assert_queries(5) do + assert_queries(6) do Post.find_each(:select => "id, title, type", :batch_size => 2) do |post| assert_kind_of Post, post end |