From a5f4bba440d7f9ea47046a0a561d49adf0a1e6d4 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Wed, 16 Jun 2021 18:25:58 +0000 Subject: Add latest changes from gitlab-org/gitlab@14-0-stable-ee --- spec/controllers/admin/integrations_controller_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/controllers/admin/integrations_controller_spec.rb') diff --git a/spec/controllers/admin/integrations_controller_spec.rb b/spec/controllers/admin/integrations_controller_spec.rb index 971f2f121aa..79c39784173 100644 --- a/spec/controllers/admin/integrations_controller_spec.rb +++ b/spec/controllers/admin/integrations_controller_spec.rb @@ -93,8 +93,8 @@ RSpec.describe Admin::IntegrationsController do end it 'deletes the integration and all inheriting integrations' do - expect { subject }.to change { JiraService.for_instance.count }.by(-1) - .and change { JiraService.inherit_from_id(integration.id).count }.by(-1) + expect { subject }.to change { Integrations::Jira.for_instance.count }.by(-1) + .and change { Integrations::Jira.inherit_from_id(integration.id).count }.by(-1) end end end -- cgit v1.2.1