summaryrefslogtreecommitdiffstats
path: root/test/integration/routing
diff options
context:
space:
mode:
authorGo MAEDA <maeda@farend.jp>2019-06-16 09:34:49 +0000
committerGo MAEDA <maeda@farend.jp>2019-06-16 09:34:49 +0000
commit9cdd8bf039c78017ff80283ef76c2f45783ec987 (patch)
treeea157e585970ed801b7340fd4e8432c9912c6c76 /test/integration/routing
parentd16e36028fa635d736b8fc04b53408aab766d9eb (diff)
downloadredmine-9cdd8bf039c78017ff80283ef76c2f45783ec987.tar.gz
redmine-9cdd8bf039c78017ff80283ef76c2f45783ec987.zip
Enables API access to /my/account for updating user account data (#31399).
Patch by Jens Krämer. git-svn-id: http://svn.redmine.org/redmine/trunk@18257 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/routing')
-rw-r--r--test/integration/routing/my_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/integration/routing/my_test.rb b/test/integration/routing/my_test.rb
index ce98f70b5..8b70ae7e4 100644
--- a/test/integration/routing/my_test.rb
+++ b/test/integration/routing/my_test.rb
@@ -22,7 +22,7 @@ require File.expand_path('../../../test_helper', __FILE__)
class RoutingMyTest < Redmine::RoutingTest
def test_my
should_route 'GET /my/account' => 'my#account'
- should_route 'POST /my/account' => 'my#account'
+ should_route 'PUT /my/account' => 'my#account'
should_route 'GET /my/account/destroy' => 'my#destroy'
should_route 'POST /my/account/destroy' => 'my#destroy'