mirror of
https://github.com/redmine/redmine.git
synced 2025-11-12 16:26:03 +01:00
test: route: add test for '/' path
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8558 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -19,6 +19,10 @@ require File.expand_path('../../../test_helper', __FILE__)
|
|||||||
|
|
||||||
class RoutingWelcomeTest < ActionController::IntegrationTest
|
class RoutingWelcomeTest < ActionController::IntegrationTest
|
||||||
def test_welcome
|
def test_welcome
|
||||||
|
assert_routing(
|
||||||
|
{ :method => 'get', :path => "/" },
|
||||||
|
{ :controller => 'welcome', :action => 'index' }
|
||||||
|
)
|
||||||
assert_routing(
|
assert_routing(
|
||||||
{ :method => 'get', :path => "/robots.txt" },
|
{ :method => 'get', :path => "/robots.txt" },
|
||||||
{ :controller => 'welcome', :action => 'robots' }
|
{ :controller => 'welcome', :action => 'robots' }
|
||||||
|
|||||||
Reference in New Issue
Block a user