diff options
author | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:33:08 -0700 |
---|---|---|
committer | Yehuda Katz + Carl Lerche <ykatz+clerche@engineyard.com> | 2009-05-20 15:34:26 -0700 |
commit | 01f032f256f96f65e154061b582fbb4b32e4a692 (patch) | |
tree | 9d9d0deeeec9a8c86c0b85c55c3ed13385f55f49 /actionpack/test/controller/caching_test.rb | |
parent | c03b0ca7eb7e73587005e1440bf90cd01ed10aa5 (diff) | |
download | rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.gz rails-01f032f256f96f65e154061b582fbb4b32e4a692.tar.bz2 rails-01f032f256f96f65e154061b582fbb4b32e4a692.zip |
Added responds_to to new base.
Diffstat (limited to 'actionpack/test/controller/caching_test.rb')
-rw-r--r-- | actionpack/test/controller/caching_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/actionpack/test/controller/caching_test.rb b/actionpack/test/controller/caching_test.rb index 560c09509b..c286976315 100644 --- a/actionpack/test/controller/caching_test.rb +++ b/actionpack/test/controller/caching_test.rb @@ -48,6 +48,8 @@ class PageCachingTest < ActionController::TestCase super ActionController::Base.perform_caching = true + ActionController::Routing::Routes.clear! + ActionController::Routing::Routes.draw do |map| map.main '', :controller => 'posts' map.formatted_posts 'posts.:format', :controller => 'posts' |