Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/finders/ci/runner_jobs_finder_spec.rb')
-rw-r--r--spec/finders/ci/runner_jobs_finder_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/finders/ci/runner_jobs_finder_spec.rb b/spec/finders/ci/runner_jobs_finder_spec.rb
index 7c9f762c000..3569582d70f 100644
--- a/spec/finders/ci/runner_jobs_finder_spec.rb
+++ b/spec/finders/ci/runner_jobs_finder_spec.rb
@@ -21,13 +21,13 @@ RSpec.describe Ci::RunnerJobsFinder do
end
context 'when params contains status' do
- HasStatus::AVAILABLE_STATUSES.each do |target_status|
+ Ci::HasStatus::AVAILABLE_STATUSES.each do |target_status|
context "when status is #{target_status}" do
let(:params) { { status: target_status } }
let!(:job) { create(:ci_build, runner: runner, project: project, status: target_status) }
before do
- exception_status = HasStatus::AVAILABLE_STATUSES - [target_status]
+ exception_status = Ci::HasStatus::AVAILABLE_STATUSES - [target_status]
create(:ci_build, runner: runner, project: project, status: exception_status.first)
end