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:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-10-08 15:11:10 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-10-08 15:11:10 +0300
commitaf97e4dd4beb0ba1aa0cb3c31df413333cbce77d (patch)
tree499b6ca6ce2881fe7c0449d680e1c45dbc4e26c0 /spec/workers/stuck_ci_jobs_worker_spec.rb
parentd4c5231ca2df8cb4aa919c5bfa2dd570de32c0c3 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/stuck_ci_jobs_worker_spec.rb')
-rw-r--r--spec/workers/stuck_ci_jobs_worker_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/stuck_ci_jobs_worker_spec.rb b/spec/workers/stuck_ci_jobs_worker_spec.rb
index aedf7f1c0b5..19ff8ec55c2 100644
--- a/spec/workers/stuck_ci_jobs_worker_spec.rb
+++ b/spec/workers/stuck_ci_jobs_worker_spec.rb
@@ -23,10 +23,10 @@ RSpec.describe StuckCiJobsWorker do
subject
end
- it 'executes an instance of Ci::StuckBuilds::DropService' do
+ it 'executes an instance of Ci::StuckBuilds::DropPendingService' do
expect_to_obtain_exclusive_lease(worker.lease_key, lease_uuid)
- expect_next_instance_of(Ci::StuckBuilds::DropService) do |service|
+ expect_next_instance_of(Ci::StuckBuilds::DropPendingService) do |service|
expect(service).to receive(:execute).exactly(:once)
end