fixing typeo. thanks bamnet!

This commit is contained in:
Aaron Patterson
2010-07-16 09:13:51 -07:00
parent 1f2a5199cb
commit 1b2824b659

View File

@@ -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 }