aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack
diff options
context:
space:
mode:
authorEmilio Tagua <miloops@gmail.com>2010-09-28 17:44:26 -0300
committerEmilio Tagua <miloops@gmail.com>2010-09-28 17:44:26 -0300
commitad2c21089e435527641d891a30ff8f695114071b (patch)
treed6c8000df72d0e8cc4f6c12f2093fd7a974aa8b4 /actionpack
parent80a98e9b258f5b335ee035edc7aa520819532075 (diff)
downloadrails-ad2c21089e435527641d891a30ff8f695114071b.tar.gz
rails-ad2c21089e435527641d891a30ff8f695114071b.tar.bz2
rails-ad2c21089e435527641d891a30ff8f695114071b.zip
Define @title to avoid warnings.
Diffstat (limited to 'actionpack')
-rw-r--r--actionpack/test/controller/capture_test.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/actionpack/test/controller/capture_test.rb b/actionpack/test/controller/capture_test.rb
index 47253f22b8..eb426e855b 100644
--- a/actionpack/test/controller/capture_test.rb
+++ b/actionpack/test/controller/capture_test.rb
@@ -6,18 +6,22 @@ class CaptureController < ActionController::Base
def self.controller_path; "test"; end
def content_for
+ @title = nil
render :layout => "talk_from_action"
end
def content_for_with_parameter
+ @title = nil
render :layout => "talk_from_action"
end
def content_for_concatenated
+ @title = nil
render :layout => "talk_from_action"
end
def non_erb_block_content_for
+ @title = nil
render :layout => "talk_from_action"
end