Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

warning removed "warning: instance variable @variable_for_layout not …

…initialized"
  • Loading branch information...
commit 23334be5b88a2607a35cfc970f3250ec7ae5ca9e 1 parent 4f35d5a
@arunagw arunagw authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.