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
Tatuya Kamada
gitlab-ce
Commits
287cc838
Commit
287cc838
authored
Feb 10, 2016
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix build api specs after rebase
parent
c4f6a935
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/api/builds.rb
lib/api/builds.rb
+1
-1
spec/factories/ci/builds.rb
spec/factories/ci/builds.rb
+1
-1
No files found.
lib/api/builds.rb
View file @
287cc838
...
...
@@ -132,7 +132,7 @@ module API
# example Request:
# delete /projects/:id/build/:build_id/content
delete
':id/builds/:build_id/content'
do
authorize_
manag
e_builds!
authorize_
updat
e_builds!
build
=
get_build
(
params
[
:build_id
])
return
not_found!
(
build
)
unless
build
...
...
spec/factories/ci/builds.rb
View file @
287cc838
...
...
@@ -67,7 +67,7 @@ FactoryGirl.define do
build
.
artifacts_metadata
=
fixture_file_upload
(
Rails
.
root
.
join
(
'spec/fixtures/ci_build_artifacts_metadata.gz'
),
'
application/x-gzip'
)
'
application/x-gzip'
)
build
.
save!
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