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:
parent
7ff8a2040e
commit
aac390204a
|
@ -121,11 +121,11 @@ module ActiveSupport
|
||||||
# have been loaded.
|
# have been loaded.
|
||||||
setup_once do
|
setup_once do
|
||||||
SharedTestRoutes.draw do
|
SharedTestRoutes.draw do
|
||||||
match ':controller(/:action(/:id(.:format)))'
|
match ':controller(/:action)'
|
||||||
end
|
end
|
||||||
|
|
||||||
ActionController::IntegrationTest.app.routes.draw do
|
ActionController::IntegrationTest.app.routes.draw do
|
||||||
match ':controller(/:action(/:id(.:format)))'
|
match ':controller(/:action)'
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue