aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test
diff options
context:
space:
mode:
authorJon Leighton <j@jonathanleighton.com>2010-10-31 11:16:16 +0000
committerJon Leighton <j@jonathanleighton.com>2010-10-31 11:24:26 +0000
commit026dbd28d9dbaddb7cdd7d6fdc1349cc2f43242f (patch)
treef96aae8f9bb6845742dad3483be02f5478f09460 /activerecord/test
parent9a1a32ac2b8a526f543367bc7e8258bbd7e6a164 (diff)
downloadrails-026dbd28d9dbaddb7cdd7d6fdc1349cc2f43242f.tar.gz
rails-026dbd28d9dbaddb7cdd7d6fdc1349cc2f43242f.tar.bz2
rails-026dbd28d9dbaddb7cdd7d6fdc1349cc2f43242f.zip
Fix bug with 0bb85ed9ffa9808926b46e8f7e59cab5b85ac19f which missed out a fixtures declaration in cascaded_eager_loading_test.rb
Diffstat (limited to 'activerecord/test')
-rw-r--r--activerecord/test/cases/associations/cascaded_eager_loading_test.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/cascaded_eager_loading_test.rb b/activerecord/test/cases/associations/cascaded_eager_loading_test.rb
index 81e99036af..d997385266 100644
--- a/activerecord/test/cases/associations/cascaded_eager_loading_test.rb
+++ b/activerecord/test/cases/associations/cascaded_eager_loading_test.rb
@@ -10,7 +10,8 @@ require 'models/reply'
require 'models/person'
class CascadedEagerLoadingTest < ActiveRecord::TestCase
- fixtures :authors, :mixins, :companies, :posts, :topics, :accounts, :comments, :categorizations, :people
+ fixtures :authors, :mixins, :companies, :posts, :topics, :accounts, :comments,
+ :categorizations, :people, :categories
def test_eager_association_loading_with_cascaded_two_levels
authors = Author.find(:all, :include=>{:posts=>:comments}, :order=>"authors.id")