diff options
author | gregolsen <anotheroneman@yahoo.com> | 2012-01-31 15:57:39 +0200 |
---|---|---|
committer | gregolsen <anotheroneman@yahoo.com> | 2012-01-31 15:57:39 +0200 |
commit | 58cd0085a93fb8f65bffbbe0aceebae6342e59c2 (patch) | |
tree | c677bdff31b2e0caf09d34288b85db017396fe9b /activerecord/test | |
parent | 98e1735d1d622ad07a8441df4eb280d7a8e96a05 (diff) | |
download | rails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.tar.gz rails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.tar.bz2 rails-58cd0085a93fb8f65bffbbe0aceebae6342e59c2.zip |
reflection test fixed
Diffstat (limited to 'activerecord/test')
-rw-r--r-- | activerecord/test/cases/reflection_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/reflection_test.rb b/activerecord/test/cases/reflection_test.rb index 297fb56570..16f05f2198 100644 --- a/activerecord/test/cases/reflection_test.rb +++ b/activerecord/test/cases/reflection_test.rb @@ -189,8 +189,8 @@ class ReflectionTest < ActiveRecord::TestCase def test_reflection_of_all_associations # FIXME these assertions bust a lot - assert_equal 38, Firm.reflect_on_all_associations.size - assert_equal 28, Firm.reflect_on_all_associations(:has_many).size + assert_equal 39, Firm.reflect_on_all_associations.size + assert_equal 29, Firm.reflect_on_all_associations(:has_many).size assert_equal 10, Firm.reflect_on_all_associations(:has_one).size assert_equal 0, Firm.reflect_on_all_associations(:belongs_to).size end |