summaryrefslogtreecommitdiff
path: root/spec/services
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2018-02-05 19:03:02 +0900
committerShinya Maeda <shinya@gitlab.com>2018-02-06 15:50:08 +0900
commitd30e71b381b9cf33ed61b04c25c258c11942c79b (patch)
tree04d52f04078150673bc0717d11ca4473730fe16e /spec/services
parent8bf9438150deda0562429b3f6658973247a957f9 (diff)
downloadgitlab-ce-d30e71b381b9cf33ed61b04c25c258c11942c79b.tar.gz
Fix tests for Drop filename enforcement
Diffstat (limited to 'spec/services')
-rw-r--r--spec/services/ci/create_trace_artifact_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/ci/create_trace_artifact_service_spec.rb b/spec/services/ci/create_trace_artifact_service_spec.rb
index e70b1a2bce2..847a88920fe 100644
--- a/spec/services/ci/create_trace_artifact_service_spec.rb
+++ b/spec/services/ci/create_trace_artifact_service_spec.rb
@@ -19,7 +19,7 @@ describe Ci::CreateTraceArtifactService do
it 'creates trace artifact' do
expect { subject }.to change { Ci::JobArtifact.count }.by(1)
- expect(job.job_artifacts_trace.read_attribute(:file)).to eq('trace.log')
+ expect(job.job_artifacts_trace.read_attribute(:file)).to eq('sample_trace')
end
context 'when the job has already had trace artifact' do