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

Resolve conflict in spec/uploaders/job_artifact_uploader_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent d125a9d0
require 'spec_helper' require 'spec_helper'
describe JobArtifactUploader do describe JobArtifactUploader do
<<<<<<< HEAD
let(:store) { described_class::LOCAL_STORE } let(:store) { described_class::LOCAL_STORE }
let(:job_artifact) { create(:ci_job_artifact, file_store: store) } let(:job_artifact) { create(:ci_job_artifact, file_store: store) }
=======
let(:job_artifact) { create(:ci_job_artifact) }
>>>>>>> upstream/master
let(:uploader) { described_class.new(job_artifact, :file) } let(:uploader) { described_class.new(job_artifact, :file) }
let(:local_path) { Gitlab.config.artifacts.path } let(:local_path) { Gitlab.config.artifacts.path }
...@@ -20,7 +16,6 @@ describe JobArtifactUploader do ...@@ -20,7 +16,6 @@ describe JobArtifactUploader do
it { is_expected.to match(/\h{2}\/\h{2}\/\h{64}\/\d{4}_\d{1,2}_\d{1,2}\/\d+\/\d+\z/) } it { is_expected.to match(/\h{2}\/\h{2}\/\h{64}\/\d{4}_\d{1,2}_\d{1,2}\/\d+\/\d+\z/) }
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 }
...@@ -32,8 +27,6 @@ describe JobArtifactUploader do ...@@ -32,8 +27,6 @@ describe JobArtifactUploader do
it { is_expected.to match(/\h{2}\/\h{2}\/\h{64}\/\d{4}_\d{1,2}_\d{1,2}\/\d+\/\d+\z/) } it { is_expected.to match(/\h{2}\/\h{2}\/\h{64}\/\d{4}_\d{1,2}_\d{1,2}\/\d+\/\d+\z/) }
it { is_expected.to end_with(path) } it { is_expected.to end_with(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