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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
c6aed2df
Commit
c6aed2df
authored
Jan 31, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update spec
parent
8ea1dafe
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
spec/lib/gitlab/import_export/members_mapper_spec.rb
spec/lib/gitlab/import_export/members_mapper_spec.rb
+2
-6
No files found.
spec/lib/gitlab/import_export/members_mapper_spec.rb
View file @
c6aed2df
...
...
@@ -103,11 +103,7 @@ describe Gitlab::ImportExport::MembersMapper, services: true do
end
before
do
GroupMember
.
add_users_to_group
(
group
,
[
user
,
user2
],
GroupMember
::
DEVELOPER
)
group
.
add_users
([
user
,
user2
],
GroupMember
::
DEVELOPER
)
end
it
'maps the project member'
do
...
...
@@ -115,7 +111,7 @@ describe Gitlab::ImportExport::MembersMapper, services: true do
end
it
'maps the project member if it already exists'
do
ProjectMember
.
create!
(
user:
user2
,
access_level:
ProjectMember
::
MASTER
,
source_id:
project
.
id
)
project
.
add_master
(
user2
)
expect
(
members_mapper
.
map
[
exported_user_id
]).
to
eq
(
user2
.
id
)
end
...
...
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