summaryrefslogtreecommitdiff
path: root/spec/presenters/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-24 21:10:17 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-24 21:10:17 +0000
commit39a4ea6124066f2209829899e6c1afe247304c91 (patch)
treea6a337abe741974ab90c8fb07787ef1e69f63108 /spec/presenters/ci
parent9b14160725d91f8824b35223f16bf073a97bf7de (diff)
downloadgitlab-ce-39a4ea6124066f2209829899e6c1afe247304c91.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/presenters/ci')
-rw-r--r--spec/presenters/ci/pipeline_presenter_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/presenters/ci/pipeline_presenter_spec.rb b/spec/presenters/ci/pipeline_presenter_spec.rb
index 158daad97f5..18f79bc930c 100644
--- a/spec/presenters/ci/pipeline_presenter_spec.rb
+++ b/spec/presenters/ci/pipeline_presenter_spec.rb
@@ -65,7 +65,7 @@ RSpec.describe Ci::PipelinePresenter do
describe '#failure_reason' do
context 'when pipeline has a failure reason' do
- ::Ci::PipelineEnums.failure_reasons.keys.each do |failure_reason|
+ Enums::Ci::Pipeline.failure_reasons.keys.each do |failure_reason|
context "when failure reason is #{failure_reason}" do
before do
pipeline.failure_reason = failure_reason