diff options
author | Jon Leighton <j@jonathanleighton.com> | 2011-11-04 07:04:43 -0700 |
---|---|---|
committer | Jon Leighton <j@jonathanleighton.com> | 2011-11-04 07:04:43 -0700 |
commit | 76dedf0232c7a79d5b0ba4ef707f578558afeb44 (patch) | |
tree | e33a6950903529388d3625e32d56423af006810d /activerecord | |
parent | 0fcf8bfbe9d6f5d97574388858253462a4e80f4b (diff) | |
parent | 6da558660cbb890bdd9c2fb59839d4741851fdf4 (diff) | |
download | rails-76dedf0232c7a79d5b0ba4ef707f578558afeb44.tar.gz rails-76dedf0232c7a79d5b0ba4ef707f578558afeb44.tar.bz2 rails-76dedf0232c7a79d5b0ba4ef707f578558afeb44.zip |
Merge pull request #3517 from arunagw/test_fix_activerecord
Fix test as one more has_many added
Diffstat (limited to 'activerecord')
-rw-r--r-- | activerecord/test/cases/reflection_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/cases/reflection_test.rb b/activerecord/test/cases/reflection_test.rb index 3868ecb3cb..b30db542a7 100644 --- a/activerecord/test/cases/reflection_test.rb +++ b/activerecord/test/cases/reflection_test.rb @@ -190,7 +190,7 @@ class ReflectionTest < ActiveRecord::TestCase def test_reflection_of_all_associations # FIXME these assertions bust a lot assert_equal 37, Firm.reflect_on_all_associations.size - assert_equal 26, Firm.reflect_on_all_associations(:has_many).size + assert_equal 27, 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 |