Commit c58b661f authored by Rémy Coutable's avatar Rémy Coutable

Resolve conflict in spec/uploaders/legacy_artifact_uploader_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent e11a793f
require 'rails_helper' require 'rails_helper'
describe LegacyArtifactUploader do describe LegacyArtifactUploader do
<<<<<<< HEAD
let(:store) { described_class::LOCAL_STORE } let(:store) { described_class::LOCAL_STORE }
let(:job) { create(:ci_build, artifacts_file_store: store) } let(:job) { create(:ci_build, artifacts_file_store: store) }
=======
let(:job) { create(:ci_build) }
>>>>>>> upstream/master
let(:uploader) { described_class.new(job, :legacy_artifacts_file) } let(:uploader) { described_class.new(job, :legacy_artifacts_file) }
let(:local_path) { Gitlab.config.artifacts.path } let(:local_path) { Gitlab.config.artifacts.path }
...@@ -36,7 +32,6 @@ describe LegacyArtifactUploader do ...@@ -36,7 +32,6 @@ describe LegacyArtifactUploader do
it { is_expected.to start_with(local_path) } it { is_expected.to start_with(local_path) }
it { is_expected.to end_with(path) } it { is_expected.to end_with(path) }
end end
<<<<<<< HEAD
context 'when using remote storage' do context 'when using remote storage' do
let(:store) { described_class::REMOTE_STORE } let(:store) { described_class::REMOTE_STORE }
...@@ -47,8 +42,6 @@ describe LegacyArtifactUploader do ...@@ -47,8 +42,6 @@ describe LegacyArtifactUploader do
it { is_expected.to eq(path) } it { is_expected.to eq(path) }
end end
=======
>>>>>>> upstream/master
end end
describe '#cache_dir' do describe '#cache_dir' do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment