summaryrefslogtreecommitdiffstats
path: root/test/integration/sudo_mode_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:39 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-11-21 13:52:39 +0000
commit104868faa7128a3014caa32802a89360e46409c3 (patch)
tree58b73ebd516e4648836837cf36132992768fcd96 /test/integration/sudo_mode_test.rb
parentc55c473c09ce2c1f42bd016a5347b707dbbccf21 (diff)
downloadredmine-104868faa7128a3014caa32802a89360e46409c3.tar.gz
redmine-104868faa7128a3014caa32802a89360e46409c3.zip
remove spaces inside {} of test/integration/sudo_mode_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@20462 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/integration/sudo_mode_test.rb')
-rw-r--r--test/integration/sudo_mode_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/integration/sudo_mode_test.rb b/test/integration/sudo_mode_test.rb
index 6ddac3676..abc66b3b3 100644
--- a/test/integration/sudo_mode_test.rb
+++ b/test/integration/sudo_mode_test.rb
@@ -133,7 +133,7 @@ class SudoModeTest < Redmine::IntegrationTest
get '/roles/new'
assert_response :success
- post '/roles', :params => {role: { }}
+ post('/roles', :params => {:role => {}})
assert_response :success
assert_select 'h2', 'Confirm your password to continue'
assert_select 'form[action="/roles"]'
@@ -192,7 +192,7 @@ class SudoModeTest < Redmine::IntegrationTest
expire_sudo_mode!
get '/my/account'
assert_response :success
- put '/my/account', :params => {user: { mail: 'newmail@test.com' }}
+ put('/my/account', :params => {:user => {:mail => 'newmail@test.com'}})
assert_response :success
assert_select 'h2', 'Confirm your password to continue'
assert_select 'form[action="/my/account"]'