diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-18 18:10:16 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-06-18 18:10:16 +0300 |
commit | c8cc2fe990c52cabcb9912b2b01b5bf16b33d88f (patch) | |
tree | 101b52764100d09d0f49e9277cfd7ac5383e7aeb /spec/workers/propagate_integration_group_worker_spec.rb | |
parent | 38a1a6cb91bd4cd95d18db9a4bfd219bfb75401b (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers/propagate_integration_group_worker_spec.rb')
-rw-r--r-- | spec/workers/propagate_integration_group_worker_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/workers/propagate_integration_group_worker_spec.rb b/spec/workers/propagate_integration_group_worker_spec.rb index 1c72bed323a..9d46534df4f 100644 --- a/spec/workers/propagate_integration_group_worker_spec.rb +++ b/spec/workers/propagate_integration_group_worker_spec.rb @@ -8,7 +8,7 @@ RSpec.describe PropagateIntegrationGroupWorker do let_it_be(:another_group) { create(:group) } let_it_be(:subgroup1) { create(:group, parent: group) } let_it_be(:subgroup2) { create(:group, parent: group) } - let_it_be(:integration) { create(:redmine_service, :instance) } + let_it_be(:integration) { create(:redmine_integration, :instance) } let(:job_args) { [integration.id, group.id, subgroup2.id] } @@ -22,7 +22,7 @@ RSpec.describe PropagateIntegrationGroupWorker do end context 'with a group integration' do - let_it_be(:integration) { create(:redmine_service, group: group, project: nil) } + let_it_be(:integration) { create(:redmine_integration, group: group, project: nil) } it 'calls to BulkCreateIntegrationService' do expect(BulkCreateIntegrationService).to receive(:new) |