diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-08 13:59:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2012-01-08 13:59:14 +0000 |
commit | 89b06fa75dd07f2e6845335ee71579a8bd8fbd02 (patch) | |
tree | ef2a821e15fc1ce14b00207d393312c83da336b8 /test | |
parent | 1fd824f0c19fba26bf83a71ba15c4e8c17d6cd86 (diff) | |
download | redmine-89b06fa75dd07f2e6845335ee71579a8bd8fbd02.tar.gz redmine-89b06fa75dd07f2e6845335ee71579a8bd8fbd02.zip |
test: route: add test for '/' path
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8558 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r-- | test/integration/routing/welcome_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/integration/routing/welcome_test.rb b/test/integration/routing/welcome_test.rb index 4c6bf8859..b700dbefb 100644 --- a/test/integration/routing/welcome_test.rb +++ b/test/integration/routing/welcome_test.rb @@ -20,6 +20,10 @@ require File.expand_path('../../../test_helper', __FILE__) class RoutingWelcomeTest < ActionController::IntegrationTest def test_welcome assert_routing( + { :method => 'get', :path => "/" }, + { :controller => 'welcome', :action => 'index' } + ) + assert_routing( { :method => 'get', :path => "/robots.txt" }, { :controller => 'welcome', :action => 'robots' } ) |