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/models/clusters/applications/runner_spec.rb')
-rw-r--r--spec/models/clusters/applications/runner_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/models/clusters/applications/runner_spec.rb b/spec/models/clusters/applications/runner_spec.rb
index 434d7ad4a90..8f02161843b 100644
--- a/spec/models/clusters/applications/runner_spec.rb
+++ b/spec/models/clusters/applications/runner_spec.rb
@@ -101,19 +101,6 @@ RSpec.describe Clusters::Applications::Runner do
end
end
- describe '#prepare_uninstall' do
- it 'pauses associated runner' do
- active_runner = create(:ci_runner, contacted_at: 1.second.ago)
-
- expect(active_runner.active).to be_truthy
-
- application_runner = create(:clusters_applications_runner, :scheduled, runner: active_runner)
- application_runner.prepare_uninstall
-
- expect(active_runner.active).to be_falsey
- end
- end
-
describe '#make_uninstalling!' do
subject { create(:clusters_applications_runner, :scheduled, runner: ci_runner) }