aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller')
-rw-r--r--actionpack/test/controller/routing_test.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/actionpack/test/controller/routing_test.rb b/actionpack/test/controller/routing_test.rb
index 3687b6ac77..923ea7db7c 100644
--- a/actionpack/test/controller/routing_test.rb
+++ b/actionpack/test/controller/routing_test.rb
@@ -661,6 +661,12 @@ class RouteSetTests < Test::Unit::TestCase
x.send :include, ::ActionController::Routing::NamedRoutes
x
end
+
+ def test_named_route_without_hash
+ rs.draw do |map|
+ rs.normal ':controller/:action/:id'
+ end
+ end
end
end