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:
parent
98e1735d1d
commit
58cd0085a9
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue