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
2c9c9a86
Commit
2c9c9a86
authored
May 05, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix karma
parent
9fba3120
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
6 deletions
+9
-6
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+4
-4
spec/javascripts/boards/board_list_spec.js
spec/javascripts/boards/board_list_spec.js
+1
-0
spec/javascripts/boards/list_spec.js
spec/javascripts/boards/list_spec.js
+4
-2
No files found.
spec/javascripts/boards/board_card_spec.js
View file @
2c9c9a86
/* global List */
/* global List
User
*/
/* global List
Assignee
*/
/* global ListLabel */
/* global listObj */
/* global boardsMockInterceptor */
/* global BoardService */
import
Vue
from
'
vue
'
;
import
'
~/boards/models/
user
'
;
import
'
~/boards/models/
assignee
'
;
require
(
'
~/boards/models/list
'
);
require
(
'
~/boards/models/label
'
);
...
...
@@ -133,12 +133,12 @@ describe('Issue card', () => {
});
it
(
'
does not set detail issue if img is clicked
'
,
(
done
)
=>
{
vm
.
issue
.
assignee
=
new
ListUser
({
vm
.
issue
.
assignee
s
=
[
new
ListAssignee
({
id
:
1
,
name
:
'
testing 123
'
,
username
:
'
test
'
,
avatar
:
'
test_image
'
,
});
})
]
;
Vue
.
nextTick
(()
=>
{
triggerEvent
(
'
mouseup
'
,
vm
.
$el
.
querySelector
(
'
img
'
));
...
...
spec/javascripts/boards/board_list_spec.js
View file @
2c9c9a86
...
...
@@ -35,6 +35,7 @@ describe('Board list component', () => {
iid
:
1
,
confidential
:
false
,
labels
:
[],
assignees
:
[],
});
list
.
issuesSize
=
1
;
list
.
issues
.
push
(
issue
);
...
...
spec/javascripts/boards/list_spec.js
View file @
2c9c9a86
...
...
@@ -120,7 +120,8 @@ describe('List model', () => {
title
:
'
Testing
'
,
iid
:
_
.
random
(
10000
)
+
i
,
confidential
:
false
,
labels
:
[
list
.
label
]
labels
:
[
list
.
label
],
assignees
:
[],
}));
}
list
.
issuesSize
=
50
;
...
...
@@ -138,7 +139,8 @@ describe('List model', () => {
title
:
'
Testing
'
,
iid
:
_
.
random
(
10000
),
confidential
:
false
,
labels
:
[
list
.
label
]
labels
:
[
list
.
label
],
assignees
:
[],
}));
list
.
issuesSize
=
2
;
...
...
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