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
1de62558
Commit
1de62558
authored
Jun 25, 2019
by
Michel Engelen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated specs for javascripts
parent
2e3b1b28
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
ee/spec/javascripts/batch_comments/components/preview_item_spec.js
...avascripts/batch_comments/components/preview_item_spec.js
+4
-4
ee/spec/javascripts/notes/components/note_actions_spec.js
ee/spec/javascripts/notes/components/note_actions_spec.js
+1
-1
No files found.
ee/spec/javascripts/batch_comments/components/preview_item_spec.js
View file @
1de62558
...
...
@@ -99,7 +99,7 @@ describe('Batch comments draft preview item component', () => {
});
});
describe
(
'
for
discussion
'
,
()
=>
{
describe
(
'
for
thread
'
,
()
=>
{
beforeEach
(()
=>
{
createComponent
(
false
,
{
discussion_id
:
'
1
'
,
resolve_discussion
:
true
},
store
=>
{
store
.
state
.
notes
.
discussions
.
push
({
...
...
@@ -117,13 +117,13 @@ describe('Batch comments draft preview item component', () => {
it
(
'
renders title
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.review-preview-item-header-text
'
).
textContent
).
toContain
(
"
Author Name's
discussion
"
,
"
Author Name's
thread
"
,
);
});
it
(
'
it renders
discussion
resolved text
'
,
()
=>
{
it
(
'
it renders
thread
resolved text
'
,
()
=>
{
expect
(
vm
.
$el
.
querySelector
(
'
.draft-note-resolution
'
).
textContent
).
toContain
(
'
Discussion
will be resolved
'
,
'
Thread
will be resolved
'
,
);
});
});
...
...
ee/spec/javascripts/notes/components/note_actions_spec.js
View file @
1de62558
...
...
@@ -53,7 +53,7 @@ describe('noteActions', () => {
expect
(
resolveButton
.
exists
()).
toBe
(
true
);
expect
(
resolveButton
.
attributes
(
'
data-original-title
'
)).
toEqual
(
'
Discussion
stays unresolved
'
,
'
Thread
stays unresolved
'
,
);
});
});
...
...
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