BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8323bc49
Commit
8323bc49
authored
Jan 30, 2017
by
Phil Hughes
Committed by
Fatih Acet
Feb 03, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed up JS tests
parent
274987d5
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
18 deletions
+3
-18
header.js.es6
app/assets/javascripts/boards/components/modal/header.js.es6
+1
-1
boards_store_spec.js.es6
spec/javascripts/boards/boards_store_spec.js.es6
+1
-16
issue_card_spec.js.es6
spec/javascripts/boards/issue_card_spec.js.es6
+1
-1
No files found.
app/assets/javascripts/boards/components/modal/header.js.es6
View file @
8323bc49
...
...
@@ -21,7 +21,7 @@
this.$refs.selectAllBtn.blur();
ModalStore.toggleAll();
}
}
,
},
components: {
'modal-tabs': gl.issueBoards.ModalTabs,
...
...
spec/javascripts/boards/boards_store_spec.js.es6
View file @
8323bc49
...
...
@@ -61,18 +61,6 @@ describe('Store', () => {
expect(list).toBeDefined();
});
it('finds list limited by type', () => {
gl.issueBoards.BoardsStore.addList({
id: 1,
position: 0,
title: 'Test',
list_type: 'backlog'
});
const list = gl.issueBoards.BoardsStore.findList('id', 1, 'backlog');
expect(list).toBeDefined();
});
it('gets issue when new list added', (done) => {
gl.issueBoards.BoardsStore.addList(listObj);
const list = gl.issueBoards.BoardsStore.findList('id', 1);
...
...
@@ -117,10 +105,7 @@ describe('Store', () => {
expect(gl.issueBoards.BoardsStore.shouldAddBlankState()).toBe(false);
});
it('check for blank state adding when backlog & done list exist', () => {
gl.issueBoards.BoardsStore.addList({
list_type: 'backlog'
});
it('check for blank state adding when done list exist', () => {
gl.issueBoards.BoardsStore.addList({
list_type: 'done'
});
...
...
spec/javascripts/boards/issue_card_spec.js.es6
View file @
8323bc49
...
...
@@ -93,7 +93,7 @@ describe('Issue card component', () => {
setTimeout(() => {
expect(
component.$el.querySelector('.
fa-eye-flash
'),
component.$el.querySelector('.
confidential-icon
'),
).not.toBeNull();
done();
}, 0);
...
...
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