Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 3346de600f3c83b0a1deb737c24831856a2e58b8 2 parents 4f35d5a + 23334be
@josevalim josevalim 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.