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
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
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
app/assets/javascripts/notes/components/issue_note_signed_out_widget.vue
...scripts/notes/components/issue_note_signed_out_widget.vue
+1
-0
app/assets/javascripts/notes/components/issue_system_note.vue
...assets/javascripts/notes/components/issue_system_note.vue
+1
-0
spec/javascripts/notes/components/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