summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-02-24 01:44:45 +0900
committerShinya Maeda <shinya@gitlab.com>2018-02-24 01:44:45 +0900
commitaa603812e3d4917107af69d114ea1ab4050aebb7 (patch)
tree42096b2dc66a6a8b6d46aecca9699f4c22d918aa /spec/services
parent76d70841926d21832040d6e7801ed67a7e7f88ee (diff)
downloadgitlab-ce-aa603812e3d4917107af69d114ea1ab4050aebb7.tar.gz
Bring back the initial commit
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/ci/create_trace_artifact_service_spec.rb12
1 files changed, 0 insertions, 12 deletions
diff --git a/spec/services/ci/create_trace_artifact_service_spec.rb b/spec/services/ci/create_trace_artifact_service_spec.rb
index dc22165c9e2..8c5e8e438c7 100644
--- a/spec/services/ci/create_trace_artifact_service_spec.rb
+++ b/spec/services/ci/create_trace_artifact_service_spec.rb
@@ -41,18 +41,6 @@ describe Ci::CreateTraceArtifactService do
expect(job.job_artifacts_trace).to be_nil
end
end
-
- context 'when migrated trace artifact file is not found' do
- before do
- allow_any_instance_of(CarrierWave::SanitizedFile).to receive(:exists?) { false }
- end
-
- it 'raises an error' do
- expect { subject }.to raise_error('Trace artifact not found')
-
- expect(File.exist?(legacy_path)).to be_truthy
- end
- end
end
context 'when the job does not have a trace file' do