diff options
Diffstat (limited to 'spec/models')
-rw-r--r-- | spec/models/member_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/models/member_spec.rb b/spec/models/member_spec.rb index fdd7480b2c2..7719a19f0a2 100644 --- a/spec/models/member_spec.rb +++ b/spec/models/member_spec.rb @@ -78,7 +78,7 @@ describe Member, models: true do project.members, 'toto1@example.com', Gitlab::Access::DEVELOPER, - current_user: @master_user + @master_user ) @invited_member = project.members.invite.find_by_invite_email('toto1@example.com') @@ -87,7 +87,7 @@ describe Member, models: true do project.members, 'toto2@example.com', Gitlab::Access::DEVELOPER, - current_user: @master_user + @master_user ) @accepted_invite_member = project.members.invite.find_by_invite_email('toto2@example.com').tap { |u| u.accept_invite!(accepted_invite_user) } |