diff options
Diffstat (limited to 'spec/finders/ci/pipelines_finder_spec.rb')
-rw-r--r-- | spec/finders/ci/pipelines_finder_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/ci/pipelines_finder_spec.rb b/spec/finders/ci/pipelines_finder_spec.rb index 680955ff9f9..a2a714689ba 100644 --- a/spec/finders/ci/pipelines_finder_spec.rb +++ b/spec/finders/ci/pipelines_finder_spec.rb @@ -77,13 +77,13 @@ RSpec.describe Ci::PipelinesFinder do end end - HasStatus::AVAILABLE_STATUSES.each do |target| + Ci::HasStatus::AVAILABLE_STATUSES.each do |target| context "when status is #{target}" do let(:params) { { status: target } } let!(:pipeline) { create(:ci_pipeline, project: project, status: target) } before do - exception_status = HasStatus::AVAILABLE_STATUSES - [target] + exception_status = Ci::HasStatus::AVAILABLE_STATUSES - [target] create(:ci_pipeline, project: project, status: exception_status.first) end |