diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 12:58:14 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2019-11-24 12:58:14 +0000 |
commit | 109973a908512250b64049400d588bb9b42a0ebd (patch) | |
tree | 943903314fa0cb9497fccc59e63a04d6b8334dfa /test/test_helper.rb | |
parent | d51e776c63b766e660ae964222f4211be7b0fc0a (diff) | |
download | redmine-109973a908512250b64049400d588bb9b42a0ebd.tar.gz redmine-109973a908512250b64049400d588bb9b42a0ebd.zip |
cleanup: rubocop: fix Layout/AlignArguments in test/test_helper.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@19250 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/test_helper.rb')
-rw-r--r-- | test/test_helper.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/test_helper.rb b/test/test_helper.rb index e27334ca4..0be6d5a8a 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -411,9 +411,11 @@ module Redmine def upload(format, content, credentials) set_tmp_attachments_directory assert_difference 'Attachment.count' do - post "/uploads.#{format}", + post( + "/uploads.#{format}", :params => content, :headers => {"CONTENT_TYPE" => 'application/octet-stream'}.merge(credentials) + ) assert_response :created end data = response_data |