aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/template/url_helper_test.rb
diff options
context:
space:
mode:
authorPiotr Sarnacki <drogus@gmail.com>2010-08-05 15:44:23 +0200
committerPiotr Sarnacki <drogus@gmail.com>2010-09-05 13:44:36 +0200
commitb3eb26a161acb23781e55fc6c37b948f160cd9b5 (patch)
tree3c8e43a17dc5fe06eb3b4552d04d479863161fb5 /actionpack/test/template/url_helper_test.rb
parent91fec0d24d50d3b3e90c48b2501ca913544781cc (diff)
downloadrails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.tar.gz
rails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.tar.bz2
rails-b3eb26a161acb23781e55fc6c37b948f160cd9b5.zip
Removed deprecated RouteSet API, still many tests fail
Diffstat (limited to 'actionpack/test/template/url_helper_test.rb')
-rw-r--r--actionpack/test/template/url_helper_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/actionpack/test/template/url_helper_test.rb b/actionpack/test/template/url_helper_test.rb
index b76813c554..db8fd82aeb 100644
--- a/actionpack/test/template/url_helper_test.rb
+++ b/actionpack/test/template/url_helper_test.rb
@@ -394,7 +394,7 @@ end
class UrlHelperControllerTest < ActionController::TestCase
class UrlHelperController < ActionController::Base
- test_routes do |map|
+ test_routes do
match 'url_helper_controller_test/url_helper/show/:id',
:to => 'url_helper_controller_test/url_helper#show',
:as => :show
@@ -407,8 +407,7 @@ class UrlHelperControllerTest < ActionController::TestCase
:to => 'url_helper_controller_test/url_helper#show_named_route',
:as => :show_named_route
- map.connect ":controller/:action/:id"
- # match "/:controller(/:action(/:id))"
+ match "/:controller(/:action(/:id))"
match 'url_helper_controller_test/url_helper/normalize_recall_params',
:to => UrlHelperController.action(:normalize_recall),