FIX: Error with ace editor and new ember.

Fix upgrades ace editor, which was a huge headache due to AMD.
This commit is contained in:
Robin Ward
2015-05-13 16:24:49 -04:00
parent 06643fb625
commit d90063fc59
321 changed files with 382 additions and 359 deletions

View File

@ -1,6 +1,19 @@
moduleForComponent('ace-editor', {needs: []});
moduleForComponent('ace-editor', {integration: true});
test('changing colors', function(assert) {
assert.expect(0);
var component = this.subject();
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');
});
});