Fix failing test introduced by optional-format routes
This commit is contained in:
parent
39de112e7b
commit
9adcf951ea
|
@ -48,6 +48,7 @@ class PageCachingTest < ActionController::TestCase
|
|||
|
||||
ActionController::Routing::Routes.draw do |map|
|
||||
map.main '', :controller => 'posts'
|
||||
map.formatted_posts 'posts.:format', :controller => 'posts'
|
||||
map.resources :posts
|
||||
map.connect ':controller/:action/:id'
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue