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
8bf82c8d
Commit
8bf82c8d
authored
Nov 13, 2017
by
Jarka Kadlecova
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix failing specs
parent
511259c0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
1 deletion
+8
-1
spec/helpers/issuables_helper_spec.rb
spec/helpers/issuables_helper_spec.rb
+3
-1
spec/lib/gitlab/import_export/all_models.yml
spec/lib/gitlab/import_export/all_models.yml
+5
-0
No files found.
spec/helpers/issuables_helper_spec.rb
View file @
8bf82c8d
...
...
@@ -176,6 +176,7 @@ describe IssuablesHelper do
'endpoint'
=>
"/
#{
@project
.
full_path
}
/issues/
#{
issue
.
iid
}
"
,
'canUpdate'
=>
true
,
'canDestroy'
=>
true
,
'canAdmin'
=>
true
,
'issuableRef'
=>
"#
#{
issue
.
iid
}
"
,
'markdownPreviewPath'
=>
"/
#{
@project
.
full_path
}
/preview_markdown"
,
'markdownDocsPath'
=>
'/help/user/markdown'
,
...
...
@@ -197,9 +198,10 @@ describe IssuablesHelper do
expected_data
=
{
'endpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
"
,
'issueLinksEndpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
/
link
s"
,
'issueLinksEndpoint'
=>
"/groups/
#{
@group
.
full_path
}
/-/epics/
#{
epic
.
iid
}
/
issue
s"
,
'canUpdate'
=>
true
,
'canDestroy'
=>
true
,
'canAdmin'
=>
true
,
'issuableRef'
=>
nil
,
'markdownPreviewPath'
=>
"/groups/
#{
@group
.
full_path
}
/preview_markdown"
,
'markdownDocsPath'
=>
'/help/user/markdown'
,
...
...
spec/lib/gitlab/import_export/all_models.yml
View file @
8bf82c8d
...
...
@@ -18,6 +18,8 @@ issues:
-
metrics
-
timelogs
-
issue_assignees
-
epic_issue
-
epic
events
:
-
author
-
project
...
...
@@ -316,3 +318,6 @@ push_event_payload:
issue_assignees
:
-
issue
-
assignee
epic_issues
:
-
issue
-
epic
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