diff options
author | Phil Hughes <me@iamphill.com> | 2016-08-12 16:58:34 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-08-17 17:17:39 +0100 |
commit | 9806db32951dcd4ba9520f394f8dfdba620b5ecf (patch) | |
tree | a9f74f3f2a3512cacb1585099ccb017d465a0097 /spec/javascripts | |
parent | 31657f8dfb52bd60df7a1ed0f28b500bf40e937f (diff) | |
download | gitlab-ce-9806db32951dcd4ba9520f394f8dfdba620b5ecf.tar.gz |
Added loading icon so user knows when new page is loading
Added test for finding lists when limited to type
Diffstat (limited to 'spec/javascripts')
-rw-r--r-- | spec/javascripts/boards/boards_store_spec.js.es6 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/spec/javascripts/boards/boards_store_spec.js.es6 b/spec/javascripts/boards/boards_store_spec.js.es6 index d48fd337bc7..c185fd71c0d 100644 --- a/spec/javascripts/boards/boards_store_spec.js.es6 +++ b/spec/javascripts/boards/boards_store_spec.js.es6 @@ -46,6 +46,18 @@ expect(list).toBeDefined(); }); + it('finds list limited by type', () => { + BoardsStore.addList({ + id: 1, + position: 0, + title: 'Test', + list_type: 'backlog' + }); + const list = BoardsStore.findList('id', 1, 'backlog'); + + expect(list).toBeDefined(); + }); + it('gets issue when new list added', (done) => { BoardsStore.addList(listObj); const list = BoardsStore.findList('id', 1); |