diff options
author | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-08 21:44:06 +0100 |
---|---|---|
committer | Eloy Duran <eloy.de.enige@gmail.com> | 2010-01-08 21:47:17 +0100 |
commit | 7f775ef1a92129fcc77079bc8e00c99a75b38a38 (patch) | |
tree | 549b2e03c1fbaa8890a70e30c4c5370160c7daaf /activerecord/test/cases | |
parent | f2aacd51405724cdf7cfd36a439c9dbfce16973a (diff) | |
download | rails-7f775ef1a92129fcc77079bc8e00c99a75b38a38.tar.gz rails-7f775ef1a92129fcc77079bc8e00c99a75b38a38.tar.bz2 rails-7f775ef1a92129fcc77079bc8e00c99a75b38a38.zip |
Renamed AssociationReflection #collection_association? to #collection?.
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/reflection_test.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/activerecord/test/cases/reflection_test.rb b/activerecord/test/cases/reflection_test.rb index 774ab7aa4c..2c9158aa7b 100644 --- a/activerecord/test/cases/reflection_test.rb +++ b/activerecord/test/cases/reflection_test.rb @@ -198,11 +198,11 @@ class ReflectionTest < ActiveRecord::TestCase end def test_collection_association - assert Pirate.reflect_on_association(:birds).collection_association? - assert Pirate.reflect_on_association(:parrots).collection_association? + assert Pirate.reflect_on_association(:birds).collection? + assert Pirate.reflect_on_association(:parrots).collection? - assert !Pirate.reflect_on_association(:ship).collection_association? - assert !Ship.reflect_on_association(:pirate).collection_association? + assert !Pirate.reflect_on_association(:ship).collection? + assert !Ship.reflect_on_association(:pirate).collection? end def test_default_association_validation |