diff options
Diffstat (limited to 'spec/javascripts/boards/board_card_spec.js')
-rw-r--r-- | spec/javascripts/boards/board_card_spec.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/spec/javascripts/boards/board_card_spec.js b/spec/javascripts/boards/board_card_spec.js index 9f441ca319e..13b708a03d5 100644 --- a/spec/javascripts/boards/board_card_spec.js +++ b/spec/javascripts/boards/board_card_spec.js @@ -67,16 +67,6 @@ describe('Board card', () => { expect(vm.issueDetailVisible).toBe(true); }); - it("returns false when multiSelect doesn't contain issue", () => { - expect(vm.multiSelectVisible).toBe(false); - }); - - it('returns true when multiSelect contains issue', () => { - boardsStore.multiSelect.list = [vm.issue]; - - expect(vm.multiSelectVisible).toBe(true); - }); - it('adds user-can-drag class if not disabled', () => { expect(vm.$el.classList.contains('user-can-drag')).toBe(true); }); @@ -190,7 +180,7 @@ describe('Board card', () => { triggerEvent('mousedown'); triggerEvent('mouseup'); - expect(eventHub.$emit).toHaveBeenCalledWith('newDetailIssue', vm.issue, undefined); + expect(eventHub.$emit).toHaveBeenCalledWith('newDetailIssue', vm.issue); expect(boardsStore.detail.list).toEqual(vm.list); }); @@ -213,7 +203,7 @@ describe('Board card', () => { triggerEvent('mousedown'); triggerEvent('mouseup'); - expect(eventHub.$emit).toHaveBeenCalledWith('clearDetailIssue', undefined); + expect(eventHub.$emit).toHaveBeenCalledWith('clearDetailIssue'); }); }); }); |