From 239ec8e318c10009516be75663556e9cd4ed1ec0 Mon Sep 17 00:00:00 2001 From: lilia Date: Mon, 21 Dec 2015 17:40:31 -0800 Subject: [PATCH] Fix test // FREEBIE --- test/views/attachment_view.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/views/attachment_view.js b/test/views/attachment_view.js index 70325b47..8c588549 100644 --- a/test/views/attachment_view.js +++ b/test/views/attachment_view.js @@ -1,9 +1,7 @@ describe('AttachmentView', function() { it('should display an error for an unsupported type', function() { - var attachment = { - contentType: 'html/text'; - } + var attachment = { contentType: 'html/text' }; var view = new Whisper.AttachmentView({model: attachment}).render(); assert.match(view.$el.text(), /Sorry, your attachment has a type, html, that is not currently supported./); });