diff options
author | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-16 09:13:51 -0700 |
---|---|---|
committer | Aaron Patterson <aaron.patterson@gmail.com> | 2010-07-16 09:13:51 -0700 |
commit | 1b2824b6591deee1211f799dc5ce71a7a718953b (patch) | |
tree | dfe82d28158957e0416224f592aebde065da7d54 /activerecord | |
parent | 1f2a5199cb06b9898c9ba0a10350f4d522035a56 (diff) | |
download | rails-1b2824b6591deee1211f799dc5ce71a7a718953b.tar.gz rails-1b2824b6591deee1211f799dc5ce71a7a718953b.tar.bz2 rails-1b2824b6591deee1211f799dc5ce71a7a718953b.zip |
fixing typeo. thanks bamnet!
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/cascaded_eager_loading_test.rb | 2 |
1 files changed, 1 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 67eb6403c8..f5d59c9a43 100644 --- a/activerecord/test/cases/associations/cascaded_eager_loading_test.rb +++ b/activerecord/test/cases/associations/cascaded_eager_loading_test.rb @@ -46,7 +46,7 @@ class CascadedEagerLoadingTest < ActiveRecord::TestCase assert_equal people(:michael), Person.eager_load(:primary_contact => :primary_contact).where('primary_contacts_people_2.first_name = ?', 'Susan').order('people.id').first end - def test_eager_associatoin_loading_with_join_for_count + def test_eager_association_loading_with_join_for_count authors = Author.joins(:special_posts).includes([:posts, :categorizations]) assert_nothing_raised { authors.count } |