@@ -443,8 +443,11 class RoutingTest < ActionController::IntegrationTest | |||||
443 | should_route :post, "/versions/1/status_by", :controller => 'versions', :action => 'status_by', :id => '1' |
|
443 | should_route :post, "/versions/1/status_by", :controller => 'versions', :action => 'status_by', :id => '1' | |
444 | end |
|
444 | end | |
445 |
|
445 | |||
446 |
|
|
446 | def test_welcome | |
447 | should_route :get, "/robots.txt", :controller => 'welcome', :action => 'robots' |
|
447 | assert_routing( | |
|
448 | { :method => 'get', :path => "/robots.txt" }, | |||
|
449 | { :controller => 'welcome', :action => 'robots' } | |||
|
450 | ) | |||
448 | end |
|
451 | end | |
449 |
|
452 | |||
450 | context "wiki (singular, project's pages)" do |
|
453 | context "wiki (singular, project's pages)" do |
General Comments 0
You need to be logged in to leave comments.
Login now