Permalink
Browse files

fix warning in tests when using render_erb helper

  • Loading branch information...
1 parent e975fe7 commit a985309abc8993ddc33c7a604bc41868909f457c @lest lest committed Nov 30, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 actionpack/test/abstract_unit.rb
@@ -82,6 +82,8 @@ def view
end
def render_erb(string)
+ @virtual_path = nil
+
template = ActionView::Template.new(
string.strip,
"test template",

0 comments on commit a985309

Please sign in to comment.