BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
593b6469
Commit
593b6469
authored
May 03, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix/project-tree-saver-spec' into 'master'
Fix project tree saver and fork spec failures Closes #31746 See merge request !11076
parents
6c2569fb
cf3990cf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
2 deletions
+3
-2
import_export.yml
lib/gitlab/import_export/import_export.yml
+1
-0
project_tree_saver_spec.rb
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
+2
-2
No files found.
lib/gitlab/import_export/import_export.yml
View file @
593b6469
...
...
@@ -84,6 +84,7 @@ excluded_attributes:
-
:import_jid
-
:id
-
:star_count
-
:last_activity_at
snippets
:
-
:expired_at
merge_request_diff
:
...
...
spec/lib/gitlab/import_export/project_tree_saver_spec.rb
View file @
593b6469
...
...
@@ -6,7 +6,7 @@ describe Gitlab::ImportExport::ProjectTreeSaver, services: true do
let
(
:project_tree_saver
)
{
described_class
.
new
(
project:
project
,
current_user:
user
,
shared:
shared
)
}
let
(
:export_path
)
{
"
#{
Dir
.
tmpdir
}
/project_tree_saver_spec"
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
setup_project
}
let
!
(
:project
)
{
setup_project
}
before
do
project
.
team
<<
[
user
,
:master
]
...
...
@@ -219,7 +219,7 @@ describe Gitlab::ImportExport::ProjectTreeSaver, services: true do
releases:
[
release
],
group:
group
)
project
.
update
(
description_html:
'description'
)
project
.
update
_column
(
:description_html
,
'description'
)
project_label
=
create
(
:label
,
project:
project
)
group_label
=
create
(
:group_label
,
group:
group
)
create
(
:label_link
,
label:
project_label
,
target:
issue
)
...
...
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