Fix emoji test, since emoji image paths no longer start with /

FREEBIE
pull/749/head
Scott Nonnenberg 8 years ago
parent b4e3cc0e6c
commit c77554533c
No known key found for this signature in database
GPG Key ID: A4931C09644C654B

@ -79,7 +79,7 @@ describe('MessageView', function() {
view.render();
var img = view.$el.find('.content img');
assert.strictEqual(img.length, 1);
assert.strictEqual(img.attr('src'), '/images/emoji/apple/2764.png');
assert.strictEqual(img.attr('src'), 'images/emoji/apple/2764.png');
assert.strictEqual(img.attr('title'), ':heart:');
assert.strictEqual(img.attr('class'), 'emoji');
});

Loading…
Cancel
Save