fix warning in tests when using render_erb helper
This commit is contained in:
parent
e975fe710a
commit
a985309abc
|
@ -82,6 +82,8 @@ module RenderERBUtils
|
||||||
end
|
end
|
||||||
|
|
||||||
def render_erb(string)
|
def render_erb(string)
|
||||||
|
@virtual_path = nil
|
||||||
|
|
||||||
template = ActionView::Template.new(
|
template = ActionView::Template.new(
|
||||||
string.strip,
|
string.strip,
|
||||||
"test template",
|
"test template",
|
||||||
|
|
Loading…
Reference in New Issue