提交 fe873dfa 编写于 作者: A Akira Matsuda

Duplicated method in the test helper

上级 bc116a55
......@@ -990,11 +990,4 @@ def test_unhook
ensure
ActiveSupport::Dependencies.hook!
end
private
def remove_constants(*constants)
constants.each do |constant|
Object.send(:remove_const, constant) if Object.const_defined?(constant)
end
end
end
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册