diff options
author | Rafael França <rafaelmfranca@gmail.com> | 2016-08-17 00:11:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-17 00:11:34 -0300 |
commit | 1c9c315e5c352412b95596510facbd2a5aea9e12 (patch) | |
tree | 56244a7e69bd3ff6e2be5d7e9a764b1d582f525d /activerecord/test | |
parent | da06fb48387c57f1d6295756c2749a3ff7e2e884 (diff) | |
parent | 46380674d31af542a07de93a21d6be3a9cddb64b (diff) | |
download | rails-1c9c315e5c352412b95596510facbd2a5aea9e12.tar.gz rails-1c9c315e5c352412b95596510facbd2a5aea9e12.tar.bz2 rails-1c9c315e5c352412b95596510facbd2a5aea9e12.zip |
Merge pull request #26009 from kamipo/fix_inconsistent_finder_methods_signature
Fix inconsistent the signature of finder methods for collection association
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/associations/has_many_associations_test.rb | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/activerecord/test/cases/associations/has_many_associations_test.rb b/activerecord/test/cases/associations/has_many_associations_test.rb index 5a108333b0..1bfb1ea0c8 100644 --- a/activerecord/test/cases/associations/has_many_associations_test.rb +++ b/activerecord/test/cases/associations/has_many_associations_test.rb @@ -380,47 +380,38 @@ class HasManyAssociationsTest < ActiveRecord::TestCase assert_no_queries do bulbs.first() - bulbs.first({}) end assert_no_queries do bulbs.second() - bulbs.second({}) end assert_no_queries do bulbs.third() - bulbs.third({}) end assert_no_queries do bulbs.fourth() - bulbs.fourth({}) end assert_no_queries do bulbs.fifth() - bulbs.fifth({}) end assert_no_queries do bulbs.forty_two() - bulbs.forty_two({}) end assert_no_queries do bulbs.third_to_last() - bulbs.third_to_last({}) end assert_no_queries do bulbs.second_to_last() - bulbs.second_to_last({}) end assert_no_queries do bulbs.last() - bulbs.last({}) end end |