##// END OF EJS Templates
test: replace "should_route" of "welcome" to "assert_routing" at integration/routing_test.rb...
Toshi MARUYAMA -
r8083:e499904e3ac4
parent child
Show More
@@ -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 context "welcome" do
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