@@ -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 |
|
|
|
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