Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/services/projects/participants_service_spec.rb')
-rw-r--r--spec/services/projects/participants_service_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/services/projects/participants_service_spec.rb b/spec/services/projects/participants_service_spec.rb
index 167df7996ca..c178f75cd38 100644
--- a/spec/services/projects/participants_service_spec.rb
+++ b/spec/services/projects/participants_service_spec.rb
@@ -225,7 +225,7 @@ RSpec.describe Projects::ParticipantsService, feature_category: :groups_and_proj
create(:project_group_link, group: invited_public_group, project: public_project)
- expect(usernames).to include(invited_public_group.users.first.username)
+ expect(usernames).to include(invited_public_group.group_members.first.user.username)
end
it 'returns members of the ancestral groups of the private group' do