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/workers/new_release_worker_spec.rb')
-rw-r--r--spec/workers/new_release_worker_spec.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/workers/new_release_worker_spec.rb b/spec/workers/new_release_worker_spec.rb
deleted file mode 100644
index de4e1bac48f..00000000000
--- a/spec/workers/new_release_worker_spec.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-# frozen_string_literal: true
-
-# TODO: Worker can be removed in 13.2:
-# https://gitlab.com/gitlab-org/gitlab/-/issues/218231
-require 'spec_helper'
-
-describe NewReleaseWorker do
- let(:release) { create(:release) }
-
- it 'sends a new release notification' do
- expect_next_instance_of(NotificationService) do |instance|
- expect(instance).to receive(:send_new_release_notifications).with(release)
- end
-
- described_class.new.perform(release.id)
- end
-end