Skip to content
This repository was archived by the owner on Sep 11, 2020. It is now read-only.

Commit 3a54805

Browse files
committed
fix tests
1 parent fa806b6 commit 3a54805

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

spec/embeds.spec.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ describe('Embeds addon', function () {
417417
});
418418

419419
it('uses data-embed-code as container html for javascript-based embeds', function () {
420-
var html = '<div class="medium-insert-embeds"><figure class="medium-insert-embed"><div data-embed-code="<div>good-value</div>">bad-value</div></figure></div>',
420+
var html = '<div class="medium-insert-embeds"><figure class="medium-insert-embed"><div data-embed-code="&amp;lt;blockquote&amp;gt;good-value&amp;lt;/blockquote&amp;gt;">bad-value</div></figure></div>',
421421
editor, $serialized;
422422

423423
$('#fixtures').html('<div class="editable">' + html + '</div>');
@@ -433,7 +433,7 @@ describe('Embeds addon', function () {
433433
});
434434

435435
$serialized = $(editor.serialize()['element-0'].value);
436-
expect($serialized.find('[data-embed-code]').html()).toEqual('<div>good-value</div>');
436+
expect($serialized.find('[data-embed-code]').html()).toEqual('<blockquote>good-value</blockquote>');
437437
});
438438

439439
it('does include meta when storeMeta is set', function () {

0 commit comments

Comments
 (0)