test: replace "should_route" of "administration panel" to "assert_routing" at integration/routing_test.rb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8204 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
e499904e3a
commit
98fb0dd565
|
@ -481,7 +481,10 @@ class RoutingTest < ActionController::IntegrationTest
|
|||
should_route :post, "/projects/ladida/wiki/destroy", :controller => 'wikis', :action => 'destroy', :id => 'ladida'
|
||||
end
|
||||
|
||||
context "administration panel" do
|
||||
should_route :get, "/admin/projects", :controller => 'admin', :action => 'projects'
|
||||
def test_administration_panel
|
||||
assert_routing(
|
||||
{ :method => 'get', :path => "/admin/projects" },
|
||||
{ :controller => 'admin', :action => 'projects' }
|
||||
)
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue