summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 16:04:53 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2019-11-09 16:04:53 +0000
commit9c2d1533b7cd213060946d65c7725a8439eaf7a2 (patch)
tree92e25ab0fd46a01401bab2c1799394b2642f6556 /test
parent5addd2846d6733cd0b6af02b0afa7f73146b9362 (diff)
downloadredmine-9c2d1533b7cd213060946d65c7725a8439eaf7a2.tar.gz
redmine-9c2d1533b7cd213060946d65c7725a8439eaf7a2.zip
cleanup: rubocop: fix Layout/AlignArguments in test/integration/api_test/api_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19026 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test')
-rw-r--r--test/integration/api_test/api_test.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/integration/api_test/api_test.rb b/test/integration/api_test/api_test.rb
index 8b0d9c31b..65db622bc 100644
--- a/test/integration/api_test/api_test.rb
+++ b/test/integration/api_test/api_test.rb
@@ -25,13 +25,14 @@ class Redmine::ApiTest::ApiTest < Redmine::ApiTest::Base
def test_api_should_work_with_protect_from_forgery
ActionController::Base.allow_forgery_protection = true
assert_difference('User.count') do
- post '/users.xml',
+ post(
+ '/users.xml',
:params => {
:user => {
:login => 'foo', :firstname => 'Firstname', :lastname => 'Lastname',
:mail => 'foo@example.net', :password => 'secret123'}
},
- :headers => credentials('admin')
+ :headers => credentials('admin'))
assert_response 201
end
ensure