Skip to content
Snippets Groups Projects
Commit 287cc838 authored by Grzegorz Bizon's avatar Grzegorz Bizon
Browse files

Fix build api specs after rebase

parent c4f6a935
No related branches found
No related tags found
No related merge requests found
Loading
@@ -132,7 +132,7 @@ module API
Loading
@@ -132,7 +132,7 @@ module API
# example Request: # example Request:
# delete /projects/:id/build/:build_id/content # delete /projects/:id/build/:build_id/content
delete ':id/builds/:build_id/content' do delete ':id/builds/:build_id/content' do
authorize_manage_builds! authorize_update_builds!
   
build = get_build(params[:build_id]) build = get_build(params[:build_id])
return not_found!(build) unless build return not_found!(build) unless build
Loading
Loading
Loading
@@ -67,7 +67,7 @@ FactoryGirl.define do
Loading
@@ -67,7 +67,7 @@ FactoryGirl.define do
   
build.artifacts_metadata = build.artifacts_metadata =
fixture_file_upload(Rails.root.join('spec/fixtures/ci_build_artifacts_metadata.gz'), fixture_file_upload(Rails.root.join('spec/fixtures/ci_build_artifacts_metadata.gz'),
' application/x-gzip') 'application/x-gzip')
build.save! build.save!
end end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment