fix warning in tests when using render_erb helper

This commit is contained in:
lest 2011-11-30 18:05:23 +03:00
parent e975fe710a
commit a985309abc

@ -82,6 +82,8 @@ def view
end
def render_erb(string)
@virtual_path = nil
template = ActionView::Template.new(
string.strip,
"test template",