Fix test as one more has_many added
This commit is contained in:
parent
0fcf8bfbe9
commit
6da558660c
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue