提交 58cd0085 编写于 作者: G gregolsen

reflection test fixed

上级 98e1735d
......@@ -189,8 +189,8 @@ def test_association_reflection_in_modules
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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册