diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-01 09:10:58 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-09-01 09:10:58 +0000 |
commit | 0356944a052f481f63a4d6f18510e7f42516cc44 (patch) | |
tree | 74620c1ca92198cf9d6ed2bc8e22182d0460c8b2 /spec/services/members | |
parent | dbc554cda7f86f22d34fd1e3a4ec4ab677d55879 (diff) | |
download | gitlab-ce-0356944a052f481f63a4d6f18510e7f42516cc44.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/services/members')
-rw-r--r-- | spec/services/members/groups/bulk_creator_service_spec.rb | 10 | ||||
-rw-r--r-- | spec/services/members/projects/bulk_creator_service_spec.rb | 10 |
2 files changed, 20 insertions, 0 deletions
diff --git a/spec/services/members/groups/bulk_creator_service_spec.rb b/spec/services/members/groups/bulk_creator_service_spec.rb new file mode 100644 index 00000000000..0623ae00080 --- /dev/null +++ b/spec/services/members/groups/bulk_creator_service_spec.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Members::Groups::BulkCreatorService do + it_behaves_like 'bulk member creation' do + let_it_be(:source, reload: true) { create(:group, :public) } + let_it_be(:member_type) { GroupMember } + end +end diff --git a/spec/services/members/projects/bulk_creator_service_spec.rb b/spec/services/members/projects/bulk_creator_service_spec.rb new file mode 100644 index 00000000000..7acb7d79fe7 --- /dev/null +++ b/spec/services/members/projects/bulk_creator_service_spec.rb @@ -0,0 +1,10 @@ +# frozen_string_literal: true + +require 'spec_helper' + +RSpec.describe Members::Projects::BulkCreatorService do + it_behaves_like 'bulk member creation' do + let_it_be(:source, reload: true) { create(:project, :public) } + let_it_be(:member_type) { ProjectMember } + end +end |