diff options
author | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-27 16:39:40 +0900 |
---|---|---|
committer | Ryuta Kamizono <kamipo@gmail.com> | 2017-10-27 16:39:40 +0900 |
commit | e0025fe34d7befaaafe44f0ba3a4c0d8f6c60cc4 (patch) | |
tree | 30d7d93560be5c70246b23ffc55cef8d7ac0d474 /activerecord | |
parent | 432b193d3a21540e29b9a2f381ac6d38ae2bfeb2 (diff) | |
download | rails-e0025fe34d7befaaafe44f0ba3a4c0d8f6c60cc4.tar.gz rails-e0025fe34d7befaaafe44f0ba3a4c0d8f6c60cc4.tar.bz2 rails-e0025fe34d7befaaafe44f0ba3a4c0d8f6c60cc4.zip |
Fix typo `s/trough/through/`
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/associations/has_many_through_associations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/associations/has_many_through_associations_test.rb b/activerecord/test/cases/associations/has_many_through_associations_test.rb index 1dbc407fd1..ecebf922c1 100644 --- a/activerecord/test/cases/associations/has_many_through_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_through_associations_test.rb @@ -1258,7 +1258,7 @@ class HasManyThroughAssociationsTest < ActiveRecord::TestCase assert_equal [comments(:eager_other_comment1)], authors(:mary).unordered_comments end - def test_has_many_trough_with_scope_should_accept_string_and_hash_join + def test_has_many_through_with_scope_should_accept_string_and_hash_join assert_equal authors(:david), Author.joins({ comments_for_first_author: :post }, "inner join posts posts_alias on authors.id = posts_alias.author_id").eager_load(:categories).take end |