##// END OF EJS Templates
test: replace "should_route" of "administration panel" to "assert_routing" at integration/routing_test.rb...
Toshi MARUYAMA -
r8084:98fb0dd56503
parent child
Show More
@@ -481,7 +481,10 class RoutingTest < ActionController::IntegrationTest
481 481 should_route :post, "/projects/ladida/wiki/destroy", :controller => 'wikis', :action => 'destroy', :id => 'ladida'
482 482 end
483 483
484 context "administration panel" do
485 should_route :get, "/admin/projects", :controller => 'admin', :action => 'projects'
484 def test_administration_panel
485 assert_routing(
486 { :method => 'get', :path => "/admin/projects" },
487 { :controller => 'admin', :action => 'projects' }
488 )
486 489 end
487 490 end
General Comments 0
You need to be logged in to leave comments. Login now