Permalink
Browse files

Merge pull request #4008 from arunagw/warning_variable_for_layout

warning removed "warning: instance variable @variable_for_layout not ini...
  • Loading branch information...
2 parents 4f35d5a + 23334be commit 3346de600f3c83b0a1deb737c24831856a2e58b8 @josevalim josevalim committed Dec 17, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/action_pack_assertions_test.rb
@@ -72,6 +72,7 @@ def render_text_with_custom_content_type
end
def render_with_layout
+ @variable_for_layout = nil
render "test/hello_world", :layout => "layouts/standard"
end

0 comments on commit 3346de6

Please sign in to comment.