diff options
author | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-03 01:10:00 -0700 |
---|---|---|
committer | Jeremy Kemper <jeremy@bitsweat.net> | 2008-06-03 01:10:00 -0700 |
commit | f55ad960d22337d0d92a93724f1cc3ad45200836 (patch) | |
tree | 8a4d7010bde17bb6ef42b357412922aaefa8227e /actionpack/test | |
parent | 4d4c8e298f5396e6b8ace0a10d7f991594aace2d (diff) | |
download | rails-f55ad960d22337d0d92a93724f1cc3ad45200836.tar.gz rails-f55ad960d22337d0d92a93724f1cc3ad45200836.tar.bz2 rails-f55ad960d22337d0d92a93724f1cc3ad45200836.zip |
Stack @output_buffer for nested rendering
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index d0ee93cf3f..8b3ddc7603 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -512,7 +512,7 @@ class FragmentCachingTest < Test::Unit::TestCase def test_cache_erb_fragment @store.write('views/expensive', 'fragment content') - @controller.template.output_buffer = 'generated till now -> ' + @controller.response.template.output_buffer = 'generated till now -> ' assert_equal( 'generated till now -> fragment content', ActionView::TemplateHandlers::ERB.new(@controller).cache_fragment(Proc.new{ }, 'expensive')) |