diff options
author | Łukasz Strzałkowski <lukasz.strzalkowski@gmail.com> | 2010-08-05 16:27:59 +0200 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-09-05 13:44:36 +0200 |
commit | aac390204a0d1fce7a4af6fb732a5e4b2b889304 (patch) | |
tree | 3c8e43a17dc5fe06eb3b4552d04d479863161fb5 /actionpack/test | |
parent | 7ff8a2040eee6c7ce566844e9f5420709a9b67d1 (diff) | |
download | rails-aac390204a0d1fce7a4af6fb732a5e4b2b889304.tar.gz rails-aac390204a0d1fce7a4af6fb732a5e4b2b889304.tar.bz2 rails-aac390204a0d1fce7a4af6fb732a5e4b2b889304.zip |
Revert "Extended default route for match in tests - now it matches controller, action, id and format if given."
This reverts commit 05e9d0df0dea68ca4655aa8723c3ee69049fac78.
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/abstract_unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/abstract_unit.rb b/actionpack/test/abstract_unit.rb index 0e84439c72..7080a87f42 100644 --- a/actionpack/test/abstract_unit.rb +++ b/actionpack/test/abstract_unit.rb @@ -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 |