1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

reflection test fixed

This commit is contained in:
gregolsen 2012-01-31 15:57:39 +02:00
parent 98e1735d1d
commit 58cd0085a9

View file

@ -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