Routing tests for r9977.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9978 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2012-07-15 14:13:48 +00:00
parent d7b669e50b
commit 004a13b75c
1 changed files with 6 additions and 0 deletions

View File

@ -29,6 +29,12 @@ class RoutingWorkflowsTest < ActionController::IntegrationTest
{ :controller => 'workflows', :action => 'edit' }
)
end
["get", "post"].each do |method|
assert_routing(
{ :method => method, :path => "/workflows/permissions" },
{ :controller => 'workflows', :action => 'permissions' }
)
end
["get", "post"].each do |method|
assert_routing(
{ :method => method, :path => "/workflows/copy" },