aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller/routing_tests.rb
diff options
context:
space:
mode:
Diffstat (limited to 'actionpack/test/controller/routing_tests.rb')
-rw-r--r--actionpack/test/controller/routing_tests.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/actionpack/test/controller/routing_tests.rb b/actionpack/test/controller/routing_tests.rb
index a5b6066d66..0f5987e69e 100644
--- a/actionpack/test/controller/routing_tests.rb
+++ b/actionpack/test/controller/routing_tests.rb
@@ -343,7 +343,10 @@ class RouteTests < Test::Unit::TestCase
{})
end
-
+ def test_path_empty_list
+ route '*a', :controller => 'content'
+ verify_recognize '', :controller => 'content', :a => []
+ end
def test_special_characters
route ':id', :controller => 'content', :action => 'fish'