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
7cfae68e
Commit
7cfae68e
authored
Nov 13, 2017
by
Mike Greiling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix broken frontend specs
parent
40805f25
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
5 deletions
+14
-5
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
...suable/related_issues/components/related_issues_block.vue
+2
-1
spec/javascripts/epics/epic_show/components/epic_show_app_spec.js
...ascripts/epics/epic_show/components/epic_show_app_spec.js
+9
-3
spec/javascripts/epics/epic_show/mock_data.js
spec/javascripts/epics/epic_show/mock_data.js
+2
-0
spec/javascripts/issuable/related_issues/components/related_issues_block_spec.js
...le/related_issues/components/related_issues_block_spec.js
+1
-1
No files found.
app/assets/javascripts/issuable/related_issues/components/related_issues_block.vue
View file @
7cfae68e
...
...
@@ -56,7 +56,8 @@ export default {
},
title
:
{
type
:
String
,
required
:
true
,
required
:
false
,
default
:
'
Related issues
'
,
},
},
...
...
spec/javascripts/epics/epic_show/components/epic_show_app_spec.js
View file @
7cfae68e
...
...
@@ -14,9 +14,15 @@ describe('EpicShowApp', () => {
let
sidebarVm
;
const
interceptor
=
(
request
,
next
)
=>
{
next
(
request
.
respondWith
(
JSON
.
stringify
(
issueShowData
.
initialRequest
),
{
status
:
200
,
}));
if
(
request
.
url
===
'
/realtime_changes
'
)
{
next
(
request
.
respondWith
(
JSON
.
stringify
(
issueShowData
.
initialRequest
),
{
status
:
200
,
}));
}
else
{
next
(
request
.
respondWith
(
null
,
{
status
:
404
,
}));
}
};
beforeEach
(()
=>
{
...
...
spec/javascripts/epics/epic_show/mock_data.js
View file @
7cfae68e
export
const
contentProps
=
{
endpoint
:
''
,
canAdmin
:
true
,
canUpdate
:
true
,
canDestroy
:
false
,
markdownPreviewPath
:
''
,
markdownDocsPath
:
''
,
issueLinksEndpoint
:
'
/
'
,
groupPath
:
''
,
initialTitleHtml
:
''
,
initialTitleText
:
''
,
...
...
spec/javascripts/issuable/related_issues/components/related_issues_block_spec.js
View file @
7cfae68e
...
...
@@ -74,7 +74,7 @@ describe('RelatedIssuesBlock', () => {
beforeEach
(()
=>
{
vm
=
new
RelatedIssuesBlock
({
propsData
:
{
canAd
dRelatedIssues
:
true
,
canAd
min
:
true
,
},
}).
$mount
();
});
...
...
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