From c56042e10127d44ad580169b193bc557388b4a01 Mon Sep 17 00:00:00 2001 From: JoenioCosta Date: Tue, 10 Jun 2008 00:13:16 +0000 Subject: [PATCH] ActionItem392: routing dont math profile with dot or dash --- test/integration/routing_test.rb | 8 ++++++++ 1 file changed, 8 insertions(+), 0 deletions(-) diff --git a/test/integration/routing_test.rb b/test/integration/routing_test.rb index 1869ede..6ae3a28 100644 --- a/test/integration/routing_test.rb +++ b/test/integration/routing_test.rb @@ -114,4 +114,12 @@ class RoutingTest < ActionController::IntegrationTest assert_routing('/directory/my-asset/f/a/b/c', :controller => 'search', :action => 'directory', :asset => 'my-asset', :initial => 'f', :category_path => [ 'a', 'b', 'c']) end + def test_content_view_with_dot + assert_routing('/ze.withdot', :controller => 'content_viewer', :action => 'view_page', :profile => 'ze.withdot', :page => []) + end + + def test_content_view_with_dash + assert_routing('/ze-withdash', :controller => 'content_viewer', :action => 'view_page', :profile => 'ze.withdash', :page => []) + end + end -- libgit2 0.21.2