summaryrefslogtreecommitdiff
path: root/spec/presenters/ci
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-08-01 00:09:45 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-08-01 00:09:45 +0000
commit53758cb2cae0e3c2be30d166a4734701d05d0935 (patch)
treec57a7c598457ce7d60949eb0f73e7f37360f7b3e /spec/presenters/ci
parent8bb9ee876910bf5a14e116ace9ec95791486a78a (diff)
downloadgitlab-ce-53758cb2cae0e3c2be30d166a4734701d05d0935.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 18f79bc930c..158daad97f5 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
- Enums::Ci::Pipeline.failure_reasons.keys.each do |failure_reason|
+ ::Ci::PipelineEnums.failure_reasons.keys.each do |failure_reason|
context "when failure reason is #{failure_reason}" do
before do
pipeline.failure_reason = failure_reason