Skip to content
Browse files

warning removed "warning: instance variable @variable_for_layout not …

…initialized"
  • Loading branch information...
1 parent 4f35d5a commit 23334be5b88a2607a35cfc970f3250ec7ae5ca9e @arunagw arunagw committed Dec 17, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 actionpack/test/controller/action_pack_assertions_test.rb
View
1 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 23334be

Please sign in to comment.
Something went wrong with that request. Please try again.