]> source.dussan.org Git - redmine.git/commitdiff
test: route: add test for '/' path
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 8 Jan 2012 13:59:14 +0000 (13:59 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 8 Jan 2012 13:59:14 +0000 (13:59 +0000)
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8558 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/integration/routing/welcome_test.rb

index 4c6bf8859a6b5c2589a8356c78ee71f260ea5630..b700dbefbbc1543596da16364e2406836511f38e 100644 (file)
@@ -19,6 +19,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' }