Commit 239ec8e3 authored by lilia's avatar lilia
Browse files

Fix test

// FREEBIE
parent ce51620b
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./);
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment