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