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
a99cf0a5
Commit
a99cf0a5
authored
Nov 13, 2019
by
nmilojevic1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace right with existing in specs
parent
9ee28070
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/lib/gitlab/import_export/group_project_object_builder_spec.rb
...gitlab/import_export/group_project_object_builder_spec.rb
+3
-3
No files found.
spec/lib/gitlab/import_export/group_project_object_builder_spec.rb
View file @
a99cf0a5
...
...
@@ -11,7 +11,7 @@ describe Gitlab::ImportExport::GroupProjectObjectBuilder do
end
context
'labels'
do
it
'finds the
right
group label'
do
it
'finds the
existing
group label'
do
group_label
=
create
(
:group_label
,
name:
'group label'
,
group:
project
.
group
)
expect
(
described_class
.
build
(
Label
,
...
...
@@ -31,7 +31,7 @@ describe Gitlab::ImportExport::GroupProjectObjectBuilder do
end
context
'milestones'
do
it
'finds the
right
group milestone'
do
it
'finds the
existing
group milestone'
do
milestone
=
create
(
:milestone
,
name:
'group milestone'
,
group:
project
.
group
)
expect
(
described_class
.
build
(
Milestone
,
...
...
@@ -51,7 +51,7 @@ describe Gitlab::ImportExport::GroupProjectObjectBuilder do
end
context
'merge_request'
do
it
'finds the
right
merge_request'
do
it
'finds the
existing
merge_request'
do
merge_request
=
create
(
:merge_request
,
title:
'MergeRequest'
,
iid:
7
,
target_project:
project
,
source_project:
project
)
expect
(
described_class
.
build
(
MergeRequest
,
'title'
=>
'MergeRequest'
,
...
...
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