summaryrefslogtreecommitdiff
path: root/spec/controllers/groups/settings/integrations_controller_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/controllers/groups/settings/integrations_controller_spec.rb')
-rw-r--r--spec/controllers/groups/settings/integrations_controller_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/controllers/groups/settings/integrations_controller_spec.rb b/spec/controllers/groups/settings/integrations_controller_spec.rb
index 63d99a1fab1..4f1f6dcaae4 100644
--- a/spec/controllers/groups/settings/integrations_controller_spec.rb
+++ b/spec/controllers/groups/settings/integrations_controller_spec.rb
@@ -124,8 +124,8 @@ RSpec.describe Groups::Settings::IntegrationsController do
end
it 'deletes the integration and all inheriting integrations' do
- expect { subject }.to change { JiraService.for_group(group.id).count }.by(-1)
- .and change { JiraService.inherit_from_id(integration.id).count }.by(-1)
+ expect { subject }.to change { Integrations::Jira.for_group(group.id).count }.by(-1)
+ .and change { Integrations::Jira.inherit_from_id(integration.id).count }.by(-1)
end
end
end