From 669ad9e431c7647f01bda681aab2c0ad2cb58826 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 6 May 2022 12:09:05 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/workers/clusters/applications/activate_service_worker_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'spec/workers/clusters') diff --git a/spec/workers/clusters/applications/activate_service_worker_spec.rb b/spec/workers/clusters/applications/activate_service_worker_spec.rb index 019bfe7a750..d13ff76613c 100644 --- a/spec/workers/clusters/applications/activate_service_worker_spec.rb +++ b/spec/workers/clusters/applications/activate_service_worker_spec.rb @@ -46,7 +46,7 @@ RSpec.describe Clusters::Applications::ActivateServiceWorker, '#perform' do context 'cluster does not exist' do it 'does not raise Record Not Found error' do - expect { described_class.new.perform(0, 'ignored in this context') }.not_to raise_error(ActiveRecord::RecordNotFound) + expect { described_class.new.perform(0, 'ignored in this context') }.not_to raise_error end end end -- cgit v1.2.3