提交 213ef567 编写于 作者: L Lauro Caetano

Make sure the reflection test is passing a String to the reflection

cache.
上级 e7630b62
...@@ -192,7 +192,7 @@ def test_association_reflection_in_modules ...@@ -192,7 +192,7 @@ def test_association_reflection_in_modules
end end
def test_reflection_should_not_raise_error_when_compared_to_other_object def test_reflection_should_not_raise_error_when_compared_to_other_object
assert_nothing_raised { Firm.reflections[:clients] == Object.new } assert_nothing_raised { Firm.reflections['clients'] == Object.new }
end end
def test_has_many_through_reflection def test_has_many_through_reflection
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册