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
87c13920
Commit
87c13920
authored
Feb 18, 2020
by
Olena Horal-Koretska
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace underscore with lodash for ./spec/javascripts/boards
parent
a42cb802
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
9 deletions
+8
-9
spec/javascripts/boards/list_spec.js
spec/javascripts/boards/list_spec.js
+8
-9
No files found.
spec/javascripts/boards/list_spec.js
View file @
87c13920
...
...
@@ -4,7 +4,6 @@
/* global ListLabel */
import
MockAdapter
from
'
axios-mock-adapter
'
;
import
_
from
'
underscore
'
;
import
axios
from
'
~/lib/utils/axios_utils
'
;
import
'
~/boards/models/label
'
;
import
'
~/boards/models/assignee
'
;
...
...
@@ -40,7 +39,7 @@ describe('List model', () => {
list
=
new
List
({
title
:
'
test
'
,
label
:
{
id
:
_
.
random
(
10000
)
,
id
:
1
,
title
:
'
test
'
,
color
:
'
red
'
,
text_color
:
'
white
'
,
...
...
@@ -96,8 +95,8 @@ describe('List model', () => {
const
listDup
=
new
List
(
listObjDuplicate
);
const
issue
=
new
ListIssue
({
title
:
'
Testing
'
,
id
:
_
.
random
(
10000
)
,
iid
:
_
.
random
(
10000
)
,
id
:
1
,
iid
:
1
,
confidential
:
false
,
labels
:
[
list
.
label
,
listDup
.
label
],
assignees
:
[],
...
...
@@ -129,8 +128,8 @@ describe('List model', () => {
list
.
issues
.
push
(
new
ListIssue
({
title
:
'
Testing
'
,
id
:
_
.
random
(
10000
)
+
i
,
iid
:
_
.
random
(
10000
)
+
i
,
id
:
i
,
iid
:
i
,
confidential
:
false
,
labels
:
[
list
.
label
],
assignees
:
[],
...
...
@@ -151,7 +150,7 @@ describe('List model', () => {
list
.
issues
.
push
(
new
ListIssue
({
title
:
'
Testing
'
,
id
:
_
.
random
(
10000
)
,
id
:
1
,
confidential
:
false
,
labels
:
[
list
.
label
],
assignees
:
[],
...
...
@@ -192,7 +191,7 @@ describe('List model', () => {
list
.
issues
.
push
(
new
ListIssue
({
title
:
'
Testing
'
,
id
:
_
.
random
(
10000
)
,
id
:
1
,
confidential
:
false
,
labels
:
[
new
ListLabel
(
list
.
label
)],
assignees
:
[],
...
...
@@ -200,7 +199,7 @@ describe('List model', () => {
);
const
dummyIssue
=
new
ListIssue
({
title
:
'
new issue
'
,
id
:
_
.
random
(
10000
)
,
id
:
2
,
confidential
:
false
,
labels
:
[
new
ListLabel
(
list
.
label
)],
assignees
:
[
user
],
...
...
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