mirror of
https://github.com/redmine/redmine.git
synced 2025-12-16 05:20:28 +01:00
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
This commit is contained in:
@@ -19,7 +19,6 @@ Layout/AlignArguments:
|
|||||||
- 'test/integration/api_test/memberships_test.rb'
|
- 'test/integration/api_test/memberships_test.rb'
|
||||||
- 'test/integration/api_test/projects_test.rb'
|
- 'test/integration/api_test/projects_test.rb'
|
||||||
- 'test/integration/api_test/wiki_pages_test.rb'
|
- 'test/integration/api_test/wiki_pages_test.rb'
|
||||||
- 'test/test_helper.rb'
|
|
||||||
- 'test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb'
|
- 'test/unit/lib/redmine/wiki_formatting/markdown_html_parser_test.rb'
|
||||||
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
|
- 'test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb'
|
||||||
|
|
||||||
|
|||||||
@@ -411,9 +411,11 @@ module Redmine
|
|||||||
def upload(format, content, credentials)
|
def upload(format, content, credentials)
|
||||||
set_tmp_attachments_directory
|
set_tmp_attachments_directory
|
||||||
assert_difference 'Attachment.count' do
|
assert_difference 'Attachment.count' do
|
||||||
post "/uploads.#{format}",
|
post(
|
||||||
|
"/uploads.#{format}",
|
||||||
:params => content,
|
:params => content,
|
||||||
:headers => {"CONTENT_TYPE" => 'application/octet-stream'}.merge(credentials)
|
:headers => {"CONTENT_TYPE" => 'application/octet-stream'}.merge(credentials)
|
||||||
|
)
|
||||||
assert_response :created
|
assert_response :created
|
||||||
end
|
end
|
||||||
data = response_data
|
data = response_data
|
||||||
|
|||||||
Reference in New Issue
Block a user