aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/routing_tests.rb5
1 files changed, 5 insertions, 0 deletions
diff --git a/actionpack/test/controller/routing_tests.rb b/actionpack/test/controller/routing_tests.rb
index 69fe6e2b2a..f1a3254a42 100644
--- a/actionpack/test/controller/routing_tests.rb
+++ b/actionpack/test/controller/routing_tests.rb
@@ -474,6 +474,11 @@ class RouteSetTests < Test::Unit::TestCase
@request.path_parameters = {:controller => 'content', :action => 'action', :id => '10'}
verify_generate 'content/action', {:id => nil}
end
+
+ def test_url_to_self
+ @request.path_parameters = {:controller => 'admin/users', :action => 'index'}
+ verify_generate 'admin/users', {}
+ end
end
#require '../assertions/action_pack_assertions.rb'