diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-14 09:47:49 +0200 |
commit | 01ab6f961bff150d50c99f03fa3946f48ac29b17 (patch) | |
tree | 01074398b0f2ffbeaf5d5e44ba7d22f7b7abadeb /actionpack/test/controller | |
parent | aa508c9baf031d0bb28e6e8f061d731cdd77ecbd (diff) | |
download | rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.gz rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.tar.bz2 rails-01ab6f961bff150d50c99f03fa3946f48ac29b17.zip |
Remove :cache => true on lookup templates initialization.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/new_base/render_once_test.rb | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/actionpack/test/controller/new_base/render_once_test.rb b/actionpack/test/controller/new_base/render_once_test.rb index 3a847ac932..3035ed4ff2 100644 --- a/actionpack/test/controller/new_base/render_once_test.rb +++ b/actionpack/test/controller/new_base/render_once_test.rb @@ -79,17 +79,8 @@ module RenderTemplate end end - class TestWithResolverCache < Rack::TestCase + class TestRenderOnce < Rack::TestCase testing RenderTemplate::RenderOnceController include Tests end - - class TestWithoutResolverCache < Rack::TestCase - testing RenderTemplate::RenderOnceController - include Tests - - def setup - RenderTemplate::RenderOnceController::RESOLVER.stubs(:caching?).returns(false) - end - end end |