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
Tatuya Kamada
gitlab-ce
Commits
dfbccdfc
Commit
dfbccdfc
authored
Feb 24, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix spec
parent
ad640bc5
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
spec/lib/gitlab/import_export/import_export_spec.rb
spec/lib/gitlab/import_export/import_export_spec.rb
+1
-1
spec/support/markdown_feature.rb
spec/support/markdown_feature.rb
+2
-3
No files found.
spec/lib/gitlab/import_export/import_export_spec.rb
View file @
dfbccdfc
...
@@ -10,7 +10,7 @@ describe Gitlab::ImportExport, services: true do
...
@@ -10,7 +10,7 @@ describe Gitlab::ImportExport, services: true do
end
end
it
'contains the namespace path'
do
it
'contains the namespace path'
do
expect
(
described_class
.
export_filename
(
project:
project
)).
to
include
(
project
.
namespace
.
full_path
)
expect
(
described_class
.
export_filename
(
project:
project
)).
to
include
(
project
.
namespace
.
full_path
.
tr
(
'/'
,
'_'
)
)
end
end
it
'does not go over a certain length'
do
it
'does not go over a certain length'
do
...
...
spec/support/markdown_feature.rb
View file @
dfbccdfc
...
@@ -79,9 +79,8 @@ class MarkdownFeature
...
@@ -79,9 +79,8 @@ class MarkdownFeature
def
xproject
def
xproject
@xproject
||=
begin
@xproject
||=
begin
group
=
create
(
:group
,
name:
'cross-reference'
)
group
=
create
(
:group
,
:nested
)
group2
=
create
(
:group
,
parent:
group
,
name:
'nested-group'
)
create
(
:project
,
namespace:
group
)
do
|
project
|
create
(
:project
,
namespace:
group2
)
do
|
project
|
project
.
team
<<
[
user
,
:developer
]
project
.
team
<<
[
user
,
:developer
]
end
end
end
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