Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
568f9aa3
Commit
568f9aa3
authored
Sep 11, 2019
by
Alessio Caiazza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix workhorse file upload test helper
parent
21e23244
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
spec/support/helpers/workhorse_helpers.rb
spec/support/helpers/workhorse_helpers.rb
+2
-1
No files found.
spec/support/helpers/workhorse_helpers.rb
View file @
568f9aa3
...
...
@@ -29,7 +29,8 @@ module WorkhorseHelpers
post
(
url
,
params:
workhorse_params
,
headers:
workhorse_rewritten_fields_header
(
'file'
=>
file
.
path
)
headers:
workhorse_rewritten_fields_header
(
file_key
=>
file
.
path
),
env:
{
'CONTENT_TYPE'
=>
'multipart/form-data'
}
)
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment