diff options
author | José Valim <jose.valim@gmail.com> | 2010-10-10 22:40:13 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-10-10 23:12:22 +0200 |
commit | 682368d4ba0bb4548f896d02bc4e038ee8ba6b4d (patch) | |
tree | ec2b03c8a1adae7fd7089aabc5466b8b3a932b11 /actionpack/test/controller | |
parent | f659a1576fc4a447bbfbd866c7244d8d790a3d9c (diff) | |
download | rails-682368d4ba0bb4548f896d02bc4e038ee8ba6b4d.tar.gz rails-682368d4ba0bb4548f896d02bc4e038ee8ba6b4d.tar.bz2 rails-682368d4ba0bb4548f896d02bc4e038ee8ba6b4d.zip |
Use identifiers for template equality.
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r-- | actionpack/test/controller/new_base/render_once_test.rb | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/actionpack/test/controller/new_base/render_once_test.rb b/actionpack/test/controller/new_base/render_once_test.rb index 12892b7255..63de25be52 100644 --- a/actionpack/test/controller/new_base/render_once_test.rb +++ b/actionpack/test/controller/new_base/render_once_test.rb @@ -61,13 +61,12 @@ module RenderTemplate include Tests end - # TODO This still needs to be implemented and supported. - # class TestWithoutResolverCache < Rack::TestCase - # testing RenderTemplate::RenderOnceController - # include Tests - # - # def setup - # RenderTemplate::RenderOnceController::RESOLVER.stubs(:caching?).returns(false) - # end - # end + class TestWithoutResolverCache < Rack::TestCase + testing RenderTemplate::RenderOnceController + include Tests + + def setup + RenderTemplate::RenderOnceController::RESOLVER.stubs(:caching?).returns(false) + end + end end |