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
Léo-Paul Géneau
gitlab-ce
Commits
4bce563c
Commit
4bce563c
authored
Oct 31, 2017
by
James Lopez
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix specs
parent
ef8217fb
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
7 deletions
+10
-7
spec/lib/gitlab/import_export/project.json
spec/lib/gitlab/import_export/project.json
+6
-6
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
+1
-1
spec/lib/gitlab/import_export/safe_model_attributes.yml
spec/lib/gitlab/import_export/safe_model_attributes.yml
+3
-0
No files found.
spec/lib/gitlab/import_export/project.json
View file @
4bce563c
...
@@ -60,6 +60,12 @@
...
@@ -60,6 +60,12 @@
"due_date"
:
null
,
"due_date"
:
null
,
"moved_to_id"
:
null
,
"moved_to_id"
:
null
,
"test_ee_field"
:
"test"
,
"test_ee_field"
:
"test"
,
"issue_assignees"
:
[
{
"user_id"
:
1
,
"issue_id"
:
1
}
],
"milestone"
:
{
"milestone"
:
{
"id"
:
1
,
"id"
:
1
,
"title"
:
"test milestone"
,
"title"
:
"test milestone"
,
...
@@ -70,12 +76,6 @@
...
@@ -70,12 +76,6 @@
"updated_at"
:
"2016-06-14T15:02:04.415Z"
,
"updated_at"
:
"2016-06-14T15:02:04.415Z"
,
"state"
:
"active"
,
"state"
:
"active"
,
"iid"
:
1
,
"iid"
:
1
,
"issue_assignees"
:
[
{
"user_id"
:
1
,
"issue_id"
:
1
}
]
"events"
:
[
"events"
:
[
{
{
"id"
:
487
,
"id"
:
487
,
...
...
spec/lib/gitlab/import_export/project_tree_restorer_spec.rb
View file @
4bce563c
...
@@ -64,7 +64,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
...
@@ -64,7 +64,7 @@ describe Gitlab::ImportExport::ProjectTreeRestorer do
end
end
it
'has issue assignees'
do
it
'has issue assignees'
do
expect
(
project
.
issues
.
where
(
title:
'Voluptatem'
).
first
.
issue_assignees
).
not_to
be_empty
expect
(
Issue
.
where
(
title:
'Voluptatem'
).
first
.
issue_assignees
).
not_to
be_empty
end
end
it
'contains the merge access levels on a protected branch'
do
it
'contains the merge access levels on a protected branch'
do
...
...
spec/lib/gitlab/import_export/safe_model_attributes.yml
View file @
4bce563c
...
@@ -506,3 +506,6 @@ ProjectAutoDevops:
...
@@ -506,3 +506,6 @@ ProjectAutoDevops:
-
project_id
-
project_id
-
created_at
-
created_at
-
updated_at
-
updated_at
IssueAssignee
:
-
user_id
-
issue_id
\ No newline at end of file
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