diff options
author | Arun Agrawal <arunagw@gmail.com> | 2011-12-17 12:00:28 +0530 |
---|---|---|
committer | Arun Agrawal <arunagw@gmail.com> | 2011-12-17 12:00:57 +0530 |
commit | 23334be5b88a2607a35cfc970f3250ec7ae5ca9e (patch) | |
tree | 19636b6259c8b44b19f203c90d9645bc5e0f7f7e | |
parent | 4f35d5a18b1192f03c36b23b2f6a8b3b2d2c0347 (diff) | |
download | rails-23334be5b88a2607a35cfc970f3250ec7ae5ca9e.tar.gz rails-23334be5b88a2607a35cfc970f3250ec7ae5ca9e.tar.bz2 rails-23334be5b88a2607a35cfc970f3250ec7ae5ca9e.zip |
warning removed "warning: instance variable @variable_for_layout not initialized"
-rw-r--r-- | actionpack/test/controller/action_pack_assertions_test.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/actionpack/test/controller/action_pack_assertions_test.rb b/actionpack/test/controller/action_pack_assertions_test.rb index b414327d08..5252e43c25 100644 --- a/actionpack/test/controller/action_pack_assertions_test.rb +++ b/actionpack/test/controller/action_pack_assertions_test.rb @@ -72,6 +72,7 @@ class ActionPackAssertionsController < ActionController::Base end def render_with_layout + @variable_for_layout = nil render "test/hello_world", :layout => "layouts/standard" end |