diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 15:40:28 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-20 15:40:28 +0000 |
commit | b595cb0c1dec83de5bdee18284abe86614bed33b (patch) | |
tree | 8c3d4540f193c5ff98019352f554e921b3a41a72 /spec/features/invites_spec.rb | |
parent | 2f9104a328fc8a4bddeaa4627b595166d24671d0 (diff) | |
download | gitlab-ce-b595cb0c1dec83de5bdee18284abe86614bed33b.tar.gz |
Add latest changes from gitlab-org/gitlab@15-2-stable-eev15.2.0-rc42
Diffstat (limited to 'spec/features/invites_spec.rb')
-rw-r--r-- | spec/features/invites_spec.rb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/features/invites_spec.rb b/spec/features/invites_spec.rb index 965e97baadd..fe804dc52d7 100644 --- a/spec/features/invites_spec.rb +++ b/spec/features/invites_spec.rb @@ -72,7 +72,7 @@ RSpec.describe 'Group or Project invitations', :aggregate_failures do end end - context 'when invite is sent before account is created - ldap or social sign in for manual acceptance edge case' do + context 'when invite is sent before account is created - ldap or service sign in for manual acceptance edge case' do let(:user) { create(:user, email: 'user@example.com') } context 'when invite clicked and not signed in' do @@ -221,7 +221,8 @@ RSpec.describe 'Group or Project invitations', :aggregate_failures do category: 'RegistrationsController', action: 'accepted', label: 'invite_email', - property: group_invite.id.to_s + property: group_invite.id.to_s, + user: group_invite.reload.user ) end end |