diff options
author | Rémy Coutable <remy@rymai.me> | 2016-09-14 17:46:24 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2016-09-14 17:46:24 +0300 |
commit | fdeacd28470f4b62c895f685210681eba0b0d70a (patch) | |
tree | f471ec8ba1be0d94aeb98c99f3b328a8ad5482aa /spec/models/member_spec.rb | |
parent | 70927fba0e77d449770a7ed6144f0d958a58af64 (diff) |
Fix spec/models/member_spec.rb
Signed-off-by: Rémy Coutable <remy@rymai.me>
Diffstat (limited to 'spec/models/member_spec.rb')
-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) } |