提交 a985309a 编写于 作者: L lest

fix warning in tests when using render_erb helper

上级 e975fe71
......@@ -82,6 +82,8 @@ def view
end
def render_erb(string)
@virtual_path = nil
template = ActionView::Template.new(
string.strip,
"test template",
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册