2015-05-13 16:24:49 -04:00
|
|
|
moduleForComponent('ace-editor', {integration: true});
|
2015-05-13 14:12:54 -04:00
|
|
|
|
2015-05-13 16:24:49 -04:00
|
|
|
test('css editor', function(assert) {
|
|
|
|
andThen(() => {
|
|
|
|
this.render('{{ace-editor mode="css"}}');
|
|
|
|
});
|
|
|
|
andThen(() => {
|
|
|
|
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
test('html editor', function(assert) {
|
|
|
|
andThen(() => {
|
|
|
|
this.render('{{ace-editor mode="html"}}');
|
|
|
|
});
|
|
|
|
andThen(() => {
|
|
|
|
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
|
|
|
|
});
|
2015-05-13 14:12:54 -04:00
|
|
|
});
|