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
f4de2453
Commit
f4de2453
authored
Jun 13, 2019
by
Michel Engelen
Committed by
Michel Engelen
Jul 02, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
updated Karma test for changed strings in mr-widget state
parent
9bc7b613
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
spec/javascripts/vue_mr_widget/components/states/mr_widget_unresolved_discussions_spec.js
...omponents/states/mr_widget_unresolved_discussions_spec.js
+4
-4
No files found.
spec/javascripts/vue_mr_widget/components/states/mr_widget_unresolved_discussions_spec.js
View file @
f4de2453
...
...
@@ -10,7 +10,7 @@ describe('UnresolvedDiscussions', () => {
vm
.
$destroy
();
});
describe
(
'
with
discussion
s path
'
,
()
=>
{
describe
(
'
with
thread
s path
'
,
()
=>
{
beforeEach
(()
=>
{
vm
=
mountComponent
(
Component
,
{
mr
:
{
...
...
@@ -21,7 +21,7 @@ describe('UnresolvedDiscussions', () => {
it
(
'
should have correct elements
'
,
()
=>
{
expect
(
vm
.
$el
.
innerText
).
toContain
(
'
There are unresolved
discussions. Please resolve these discussion
s
'
,
'
There are unresolved
threads. Please resolve these thread
s
'
,
);
expect
(
vm
.
$el
.
innerText
).
toContain
(
'
Create an issue to resolve them later
'
);
...
...
@@ -29,14 +29,14 @@ describe('UnresolvedDiscussions', () => {
});
});
describe
(
'
without
discussion
s path
'
,
()
=>
{
describe
(
'
without
thread
s path
'
,
()
=>
{
beforeEach
(()
=>
{
vm
=
mountComponent
(
Component
,
{
mr
:
{}
});
});
it
(
'
should not show create issue link if user cannot create issue
'
,
()
=>
{
expect
(
vm
.
$el
.
innerText
).
toContain
(
'
There are unresolved
discussions. Please resolve these discussion
s
'
,
'
There are unresolved
threads. Please resolve these thread
s
'
,
);
expect
(
vm
.
$el
.
querySelector
(
'
.js-create-issue
'
)).
toEqual
(
null
);
...
...
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