Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
c2629a69
Commit
c2629a69
authored
Sep 14, 2016
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec/models/member_spec.rb
Signed-off-by:
Rémy Coutable
<
remy@rymai.me
>
parent
2edbafab
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/models/member_spec.rb
spec/models/member_spec.rb
+2
-2
No files found.
spec/models/member_spec.rb
View file @
c2629a69
...
...
@@ -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
)
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment