FEATURE: Replace composer editor with ember version

This commit is contained in:
Robin Ward
2015-11-03 16:25:37 -05:00
parent fc27b7442f
commit 47495a5713
51 changed files with 771 additions and 3420 deletions

View File

@ -8,13 +8,10 @@ componentTest('preview updates with markdown', {
test(assert) {
assert.ok(this.$('.d-editor-button-bar').length);
assert.equal(this.$('.d-editor-preview.hidden').length, 1);
fillIn('.d-editor-input', 'hello **world**');
andThen(() => {
assert.equal(this.get('value'), 'hello **world**');
assert.equal(this.$('.d-editor-preview.hidden').length, 0);
assert.equal(this.$('.d-editor-preview').html().trim(), '<p>hello <strong>world</strong></p>');
});
}