Skip to content
Snippets Groups Projects

Introduce API for serving the artifacts archive

Merged Kamil Trzciński requested to merge builds-artifacts-API into master
3 files
+ 5
5
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 2
2
@@ -538,7 +538,7 @@ def create_mr(build, commit, factory: :merge_request, created_at: Time.now)
end
context 'build is erasable' do
let!(:build) { create(:ci_build_with_trace, :success, :artifacts) }
let!(:build) { create(:ci_build, :trace, :success, :artifacts) }
describe '#erase' do
before { build.erase(erased_by: user) }
@@ -570,7 +570,7 @@ def create_mr(build, commit, factory: :merge_request, created_at: Time.now)
end
describe '#erased?' do
let!(:build) { create(:ci_build_with_trace, :success, :artifacts) }
let!(:build) { create(:ci_build, :trace, :success, :artifacts) }
subject { build.erased? }
context 'build has not been erased' do
Loading