Revert "Extended default route for match in tests - now it matches controller, action, id and format if given."

This reverts commit 05e9d0df0dea68ca4655aa8723c3ee69049fac78.
This commit is contained in:
Łukasz Strzałkowski 2010-08-05 16:27:59 +02:00 committed by Piotr Sarnacki
parent 7ff8a2040e
commit aac390204a
1 changed files with 2 additions and 2 deletions

View File

@ -121,11 +121,11 @@ module ActiveSupport
# have been loaded.
setup_once do
SharedTestRoutes.draw do
match ':controller(/:action(/:id(.:format)))'
match ':controller(/:action)'
end
ActionController::IntegrationTest.app.routes.draw do
match ':controller(/:action(/:id(.:format)))'
match ':controller(/:action)'
end
end
end