Commit c2629a69 authored by Rémy Coutable's avatar Rémy Coutable

Fix spec/models/member_spec.rb

Signed-off-by: default avatarRémy Coutable <remy@rymai.me>
parent 2edbafab
...@@ -78,7 +78,7 @@ describe Member, models: true do ...@@ -78,7 +78,7 @@ describe Member, models: true do
project.members, project.members,
'toto1@example.com', 'toto1@example.com',
Gitlab::Access::DEVELOPER, Gitlab::Access::DEVELOPER,
current_user: @master_user @master_user
) )
@invited_member = project.members.invite.find_by_invite_email('toto1@example.com') @invited_member = project.members.invite.find_by_invite_email('toto1@example.com')
...@@ -87,7 +87,7 @@ describe Member, models: true do ...@@ -87,7 +87,7 @@ describe Member, models: true do
project.members, project.members,
'toto2@example.com', 'toto2@example.com',
Gitlab::Access::DEVELOPER, 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) } @accepted_invite_member = project.members.invite.find_by_invite_email('toto2@example.com').tap { |u| u.accept_invite!(accepted_invite_user) }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment