diff options
Diffstat (limited to 'web-ui/test/spec')
-rw-r--r-- | web-ui/test/spec/tags/ui/tag.spec.js | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web-ui/test/spec/tags/ui/tag.spec.js b/web-ui/test/spec/tags/ui/tag.spec.js index 1f76ebe3..3bc0c7fc 100644 --- a/web-ui/test/spec/tags/ui/tag.spec.js +++ b/web-ui/test/spec/tags/ui/tag.spec.js @@ -20,14 +20,12 @@ describeComponent('tags/ui/tag', function () { it('selects the tag on click', function () { var tagSelectEvent = spyOnEvent(document, Pixelated.events.ui.tag.select); - var cleanSelectedEvent = spyOnEvent(document, Pixelated.events.ui.mails.cleanSelected); this.component.$node.click(); expect(this.component.attr.selected).toBeTruthy(); expect(this.$node.attr('class')).toMatch('selected'); expect(tagSelectEvent).toHaveBeenTriggeredOnAndWith(document, { tag: 'inbox' }); - expect(cleanSelectedEvent).toHaveBeenTriggeredOn(document); }); it('should remove selected class when selecting a different tag', function () { |