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
b737da50
Commit
b737da50
authored
Nov 29, 2019
by
Marvin Karegyeya
Committed by
Kushal Pandya
Nov 29, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace board service in board spec.js
parent
dda58b7e
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
17 deletions
+5
-17
changelogs/unreleased/Replace-BoardService_in_board_spec-js.yml
...logs/unreleased/Replace-BoardService_in_board_spec-js.yml
+5
-0
spec/javascripts/boards/components/board_spec.js
spec/javascripts/boards/components/board_spec.js
+0
-17
No files found.
changelogs/unreleased/Replace-BoardService_in_board_spec-js.yml
0 → 100644
View file @
b737da50
---
title
:
removes references of BoardService
merge_request
:
20875
author
:
nuwe1
type
:
other
spec/javascripts/boards/components/board_spec.js
View file @
b737da50
import
Vue
from
'
vue
'
;
import
Board
from
'
~/boards/components/board
'
;
import
List
from
'
~/boards/models/list
'
;
import
{
mockBoardService
}
from
'
../mock_data
'
;
describe
(
'
Board component
'
,
()
=>
{
let
vm
;
...
...
@@ -35,13 +34,6 @@ describe('Board component', () => {
const
setUpTests
=
(
done
,
opts
=
{})
=>
{
loadFixtures
(
'
boards/show.html
'
);
gl
.
boardService
=
mockBoardService
({
boardsEndpoint
:
'
/
'
,
listsEndpoint
:
'
/
'
,
bulkUpdatePath
:
'
/
'
,
boardId
:
1
,
});
createComponent
(
opts
);
Vue
.
nextTick
(
done
);
...
...
@@ -61,15 +53,6 @@ describe('Board component', () => {
};
describe
(
'
List
'
,
()
=>
{
beforeEach
(()
=>
{
gl
.
boardService
=
mockBoardService
({
boardsEndpoint
:
'
/
'
,
listsEndpoint
:
'
/
'
,
bulkUpdatePath
:
'
/
'
,
boardId
:
1
,
});
});
it
(
'
board is expandable when list type is closed
'
,
()
=>
{
expect
(
new
List
({
id
:
1
,
list_type
:
'
closed
'
}).
isExpandable
).
toBe
(
true
);
});
...
...
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