diff options
Diffstat (limited to 'spec/finders/groups/projects_requiring_authorizations_refresh')
2 files changed, 10 insertions, 10 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 diff --git a/spec/finders/groups/projects_requiring_authorizations_refresh/on_transfer_finder_spec.rb b/spec/finders/groups/projects_requiring_authorizations_refresh/on_transfer_finder_spec.rb index 103cef44c94..1a0e8c5b9e6 100644 --- a/spec/finders/groups/projects_requiring_authorizations_refresh/on_transfer_finder_spec.rb +++ b/spec/finders/groups/projects_requiring_authorizations_refresh/on_transfer_finder_spec.rb @@ -46,9 +46,9 @@ RSpec.describe Groups::ProjectsRequiringAuthorizationsRefresh::OnTransferFinder it 'includes only the expected projects' do expected_projects = Project.id_in( [ - project_b_subgroup_1, - project_b_subgroup_2, - project_c + project_b_subgroup_1, + project_b_subgroup_2, + project_c ] ) |