summaryrefslogtreecommitdiffstats
path: root/test/integration
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2021-04-13 09:01:44 +0000
committerGo MAEDA <maeda@farend.jp>2021-04-13 09:01:44 +0000
commitf2b17f77943959ea2a415f239ff50e2758c49859 (patch)
tree9bd47fb9865b780ab0959eb7693466527173d8dc /test/integration
parent6c5a16daf858149933e161595cf98534ea2e445b (diff)
downloadredmine-f2b17f77943959ea2a415f239ff50e2758c49859.tar.gz
redmine-f2b17f77943959ea2a415f239ff50e2758c49859.zip
Clean-up workflows controller (#33337).
Patch by Vincent Robert and Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@20941 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration')
-rw-r--r--test/integration/routing/workflows_test.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/integration/routing/workflows_test.rb b/test/integration/routing/workflows_test.rb
index ca6b16e48..de0e7d2a6 100644
--- a/test/integration/routing/workflows_test.rb
+++ b/test/integration/routing/workflows_test.rb
@@ -23,12 +23,12 @@ class RoutingWorkflowsTest < Redmine::RoutingTest
def test_workflows
should_route 'GET /workflows' => 'workflows#index'
should_route 'GET /workflows/edit' => 'workflows#edit'
- should_route 'POST /workflows/edit' => 'workflows#edit'
+ should_route 'PATCH /workflows/update' => 'workflows#update'
should_route 'GET /workflows/permissions' => 'workflows#permissions'
- should_route 'POST /workflows/permissions' => 'workflows#permissions'
+ should_route 'PATCH /workflows/update_permissions' => 'workflows#update_permissions'
should_route 'GET /workflows/copy' => 'workflows#copy'
- should_route 'POST /workflows/copy' => 'workflows#copy'
+ should_route 'POST /workflows/duplicate' => 'workflows#duplicate'
end
end