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:
parent
d7b669e50b
commit
004a13b75c
@ -29,6 +29,12 @@ class RoutingWorkflowsTest < ActionController::IntegrationTest
|
|||||||
{ :controller => 'workflows', :action => 'edit' }
|
{ :controller => 'workflows', :action => 'edit' }
|
||||||
)
|
)
|
||||||
end
|
end
|
||||||
|
["get", "post"].each do |method|
|
||||||
|
assert_routing(
|
||||||
|
{ :method => method, :path => "/workflows/permissions" },
|
||||||
|
{ :controller => 'workflows', :action => 'permissions' }
|
||||||
|
)
|
||||||
|
end
|
||||||
["get", "post"].each do |method|
|
["get", "post"].each do |method|
|
||||||
assert_routing(
|
assert_routing(
|
||||||
{ :method => method, :path => "/workflows/copy" },
|
{ :method => method, :path => "/workflows/copy" },
|
||||||
|
Loading…
x
Reference in New Issue
Block a user