diff options
Diffstat (limited to 'spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb')
-rw-r--r-- | spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb b/spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb index 8cdfa13ba3a..985b132ee8b 100644 --- a/spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb +++ b/spec/finders/groups/projects_requiring_authorizations_refresh/on_direct_membership_finder_spec.rb @@ -54,14 +54,14 @@ RSpec.describe Groups::ProjectsRequiringAuthorizationsRefresh::OnDirectMembershi it 'includes only the expected projects' do expected_projects = Project.id_in( [ - project_b_subgroup_1, # direct member of Group B gets access to this project due to group hierarchy - project_b_subgroup_2, # direct member of Group B gets access to this project due to group hierarchy - project_c, # direct member of Group B gets access to this project via project-group share - project_a_subgroup_1, # direct member of Group B gets access to this project via group share - project_a_subgroup_2, # direct member of Group B gets access to this project via group share + project_b_subgroup_1, # direct member of Group B gets access to this project due to group hierarchy + project_b_subgroup_2, # direct member of Group B gets access to this project due to group hierarchy + project_c, # direct member of Group B gets access to this project via project-group share + project_a_subgroup_1, # direct member of Group B gets access to this project via group share + project_a_subgroup_2, # direct member of Group B gets access to this project via group share - # direct member of Group B gets access to any projects shared with groups within its shared groups. - project_x_subgroup_1 + # direct member of Group B gets access to any projects shared with groups within its shared groups. + project_x_subgroup_1 ] ) # project_c_subgroup_1 is not included in the list because only 'direct' members of |