Skip to content
This repository
Browse code

warning removed "warning: instance variable @variable_for_layout not …

…initialized"
  • Loading branch information...
commit 23334be5b88a2607a35cfc970f3250ec7ae5ca9e 1 parent 4f35d5a
Arun Agrawal authored December 17, 2011
1  actionpack/test/controller/action_pack_assertions_test.rb
@@ -72,6 +72,7 @@ def render_text_with_custom_content_type
72 72
   end
73 73
 
74 74
   def render_with_layout
  75
+    @variable_for_layout = nil
75 76
     render "test/hello_world", :layout => "layouts/standard"
76 77
   end
77 78
 

0 notes on commit 23334be

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