mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 17:04:59 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -5,7 +5,7 @@ moduleForComponent('ace-editor', {integration: true});
|
||||
componentTest('css editor', {
|
||||
template: '{{ace-editor mode="css"}}',
|
||||
test(assert) {
|
||||
expect(1);
|
||||
assert.expect(1);
|
||||
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
|
||||
}
|
||||
});
|
||||
@ -13,7 +13,7 @@ componentTest('css editor', {
|
||||
componentTest('html editor', {
|
||||
template: '{{ace-editor mode="html" content="<b>wat</b>"}}',
|
||||
test(assert) {
|
||||
expect(1);
|
||||
assert.expect(1);
|
||||
assert.ok(this.$('.ace_editor').length, 'it renders the ace editor');
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user