diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-10 00:09:21 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-08-10 00:09:21 +0300 |
commit | c03dce2dc9f0f257faac4d43d208d96320ca5c0e (patch) | |
tree | 3da57da8f1526935326a10f538bac15797e5f638 /spec/finders | |
parent | 283318c20561cc040b62397060771efa74db0d90 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/finders')
-rw-r--r-- | spec/finders/groups/accepting_project_transfers_finder_spec.rb | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/spec/finders/groups/accepting_project_transfers_finder_spec.rb b/spec/finders/groups/accepting_project_transfers_finder_spec.rb index 26cd373593c..e73318c763f 100644 --- a/spec/finders/groups/accepting_project_transfers_finder_spec.rb +++ b/spec/finders/groups/accepting_project_transfers_finder_spec.rb @@ -26,23 +26,23 @@ RSpec.describe Groups::AcceptingProjectTransfersFinder do group_where_direct_developer.add_developer(user) create(:group_group_link, :owner, - shared_with_group: group_where_direct_owner, - shared_group: shared_with_group_where_direct_owner_as_owner + shared_with_group: group_where_direct_owner, + shared_group: shared_with_group_where_direct_owner_as_owner ) create(:group_group_link, :guest, - shared_with_group: group_where_direct_owner, - shared_group: shared_with_group_where_direct_owner_as_guest + shared_with_group: group_where_direct_owner, + shared_group: shared_with_group_where_direct_owner_as_guest ) create(:group_group_link, :maintainer, - shared_with_group: group_where_direct_owner, - shared_group: shared_with_group_where_direct_owner_as_maintainer + shared_with_group: group_where_direct_owner, + shared_group: shared_with_group_where_direct_owner_as_maintainer ) create(:group_group_link, :owner, - shared_with_group: group_where_direct_developer, - shared_group: shared_with_group_where_direct_developer_as_owner + shared_with_group: group_where_direct_developer, + shared_group: shared_with_group_where_direct_developer_as_owner ) end @@ -51,13 +51,13 @@ RSpec.describe Groups::AcceptingProjectTransfersFinder do it 'only returns groups where the user has access to transfer projects to' do expect(result).to match_array([ - group_where_direct_owner, - subgroup_of_group_where_direct_owner, - group_where_direct_maintainer, - shared_with_group_where_direct_owner_as_owner, - shared_with_group_where_direct_owner_as_maintainer, - subgroup_of_shared_with_group_where_direct_owner_as_maintainer - ]) + group_where_direct_owner, + subgroup_of_group_where_direct_owner, + group_where_direct_maintainer, + shared_with_group_where_direct_owner_as_owner, + shared_with_group_where_direct_owner_as_maintainer, + subgroup_of_shared_with_group_where_direct_owner_as_maintainer + ]) end end end |