diff options
Diffstat (limited to 'spec/services/bulk_update_integration_service_spec.rb')
-rw-r--r-- | spec/services/bulk_update_integration_service_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/services/bulk_update_integration_service_spec.rb b/spec/services/bulk_update_integration_service_spec.rb index cd50a2a5708..a866e0852bc 100644 --- a/spec/services/bulk_update_integration_service_spec.rb +++ b/spec/services/bulk_update_integration_service_spec.rb @@ -17,14 +17,14 @@ RSpec.describe BulkUpdateIntegrationService do let_it_be(:group) { create(:group) } let_it_be(:subgroup) { create(:group, parent: group) } let_it_be(:group_integration) do - JiraService.create!( + Integrations::Jira.create!( group: group, url: 'http://group.jira.com' ) end let_it_be(:subgroup_integration) do - JiraService.create!( + Integrations::Jira.create!( inherit_from_id: group_integration.id, group: subgroup, url: 'http://subgroup.jira.com', @@ -33,7 +33,7 @@ RSpec.describe BulkUpdateIntegrationService do end let_it_be(:excluded_integration) do - JiraService.create!( + Integrations::Jira.create!( group: create(:group), url: 'http://another.jira.com', push_events: false @@ -41,7 +41,7 @@ RSpec.describe BulkUpdateIntegrationService do end let_it_be(:integration) do - JiraService.create!( + Integrations::Jira.create!( project: create(:project, group: subgroup), inherit_from_id: subgroup_integration.id, url: 'http://project.jira.com', |