Remove unecessary test
This commit is contained in:
parent
ca8d91e341
commit
2ad1f70845
@ -168,21 +168,6 @@ describe('BoardDisplay', () => {
|
|||||||
expect(task.filtered).toEqual(false);
|
expect(task.filtered).toEqual(false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('has a function to check for boards', () => {
|
|
||||||
expect(component.noBoards).toEqual(jasmine.any(Function));
|
|
||||||
|
|
||||||
component.loading = true;
|
|
||||||
expect(component.noBoards()).toEqual(false);
|
|
||||||
|
|
||||||
component.loading = false;
|
|
||||||
component.boards = [];
|
|
||||||
|
|
||||||
expect(component.noBoards()).toEqual(true);
|
|
||||||
|
|
||||||
component.boards = <any>[{}];
|
|
||||||
expect(component.noBoards()).toEqual(false);
|
|
||||||
});
|
|
||||||
|
|
||||||
it('updates the active board from a service', () => {
|
it('updates the active board from a service', () => {
|
||||||
component.boardService.updateActiveBoard(null);
|
component.boardService.updateActiveBoard(null);
|
||||||
component.boardService.updateActiveBoard(<any>{});
|
component.boardService.updateActiveBoard(<any>{});
|
||||||
|
Reference in New Issue
Block a user