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
0
Merge Requests
0
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
Léo-Paul Géneau
gitlab-ce
Commits
ef960286
Commit
ef960286
authored
Jul 01, 2016
by
Lin Jen-Shin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename shared_examples, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/4964#note_12817406
parent
9f210180
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/requests/ci/api/builds_spec.rb
spec/requests/ci/api/builds_spec.rb
+4
-4
No files found.
spec/requests/ci/api/builds_spec.rb
View file @
ef960286
...
...
@@ -306,7 +306,7 @@ describe Ci::API::API do
end
context
'should post artifact to running build'
do
shared_examples
'
post artifact
'
do
shared_examples
'
artifacts sender
'
do
it
'updates successfully'
do
response_filename
=
json_response
[
'artifacts_file'
][
'filename'
]
...
...
@@ -321,7 +321,7 @@ describe Ci::API::API do
upload_artifacts
(
file_upload
,
headers_with_token
,
false
)
end
it_behaves_like
'
post artifact
'
it_behaves_like
'
artifacts sender
'
end
context
'uses accelerated file post'
do
...
...
@@ -329,7 +329,7 @@ describe Ci::API::API do
upload_artifacts
(
file_upload
,
headers_with_token
,
true
)
end
it_behaves_like
'
post artifact
'
it_behaves_like
'
artifacts sender
'
end
context
'updates artifact'
do
...
...
@@ -338,7 +338,7 @@ describe Ci::API::API do
upload_artifacts
(
file_upload
,
headers_with_token
)
end
it_behaves_like
'
post artifact
'
it_behaves_like
'
artifacts sender
'
end
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