@@ -481,7 +481,10 class RoutingTest < ActionController::IntegrationTest | |||||
481 | should_route :post, "/projects/ladida/wiki/destroy", :controller => 'wikis', :action => 'destroy', :id => 'ladida' |
|
481 | should_route :post, "/projects/ladida/wiki/destroy", :controller => 'wikis', :action => 'destroy', :id => 'ladida' | |
482 | end |
|
482 | end | |
483 |
|
483 | |||
484 |
|
|
484 | def test_administration_panel | |
485 | should_route :get, "/admin/projects", :controller => 'admin', :action => 'projects' |
|
485 | assert_routing( | |
|
486 | { :method => 'get', :path => "/admin/projects" }, | |||
|
487 | { :controller => 'admin', :action => 'projects' } | |||
|
488 | ) | |||
486 | end |
|
489 | end | |
487 | end |
|
490 | end |
General Comments 0
You need to be logged in to leave comments.
Login now