@@ -20,6 +20,10 require File.expand_path('../../../test_helper', __FILE__) | |||||
20 | class RoutingWelcomeTest < ActionController::IntegrationTest |
|
20 | class RoutingWelcomeTest < ActionController::IntegrationTest | |
21 | def test_welcome |
|
21 | def test_welcome | |
22 | assert_routing( |
|
22 | assert_routing( | |
|
23 | { :method => 'get', :path => "/" }, | |||
|
24 | { :controller => 'welcome', :action => 'index' } | |||
|
25 | ) | |||
|
26 | assert_routing( | |||
23 | { :method => 'get', :path => "/robots.txt" }, |
|
27 | { :method => 'get', :path => "/robots.txt" }, | |
24 | { :controller => 'welcome', :action => 'robots' } |
|
28 | { :controller => 'welcome', :action => 'robots' } | |
25 | ) |
|
29 | ) |
General Comments 0
You need to be logged in to leave comments.
Login now