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
3f6477fd
Commit
3f6477fd
authored
May 04, 2017
by
Clement Ho
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix karma
parent
9c4ee8ee
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
5 deletions
+8
-5
spec/javascripts/boards/board_card_spec.js
spec/javascripts/boards/board_card_spec.js
+3
-3
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 @
3f6477fd
/* global List */
/* global List
User
*/
/* global List
Assignee
*/
/* global ListLabel */
/* global listObj */
/* global boardsMockInterceptor */
...
...
@@ -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 @
3f6477fd
...
...
@@ -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 @
3f6477fd
...
...
@@ -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