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
6530035f
Commit
6530035f
authored
Jul 28, 2017
by
Filipa Lacerda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ci skip] Adds tests cases for system note
parent
ed05a62c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
issue_note_signed_out_widget.vue
...scripts/notes/components/issue_note_signed_out_widget.vue
+1
-0
issue_system_note.vue
...assets/javascripts/notes/components/issue_system_note.vue
+1
-0
issue_system_note_spec.js
spec/javascripts/notes/components/issue_system_note_spec.js
+17
-0
No files found.
app/assets/javascripts/notes/components/issue_note_signed_out_widget.vue
View file @
6530035f
<
script
>
<
script
>
export
default
{
export
default
{
name
:
'singInLinksNotes'
,
data
()
{
data
()
{
const
{
newSessionPath
,
registerPath
}
=
this
.
$store
.
getters
.
notesData
;
const
{
newSessionPath
,
registerPath
}
=
this
.
$store
.
getters
.
notesData
;
...
...
app/assets/javascripts/notes/components/issue_system_note.vue
View file @
6530035f
...
@@ -4,6 +4,7 @@
...
@@ -4,6 +4,7 @@
import
issueNoteHeader
from
'./issue_note_header.vue'
;
import
issueNoteHeader
from
'./issue_note_header.vue'
;
export
default
{
export
default
{
name
:
'systemNote'
,
props
:
{
props
:
{
note
:
{
note
:
{
type
:
Object
,
type
:
Object
,
...
...
spec/javascripts/notes/components/issue_system_note_spec.js
0 → 100644
View file @
6530035f
describe
(
'issue system note'
,
()
=>
{
it
(
'should render a list item with correct id'
,
()
=>
{
});
it
(
'should render target class is note is target note'
,
()
=>
{
});
it
(
'should render svg icon'
,
()
=>
{
});
it
(
'should render note header component'
,
()
=>
{
});
});
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