mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 01:56:58 +08:00
Upgrade QUnit to latest version
This commit is contained in:
@ -1,8 +1,8 @@
|
||||
import Theme from 'admin/models/theme';
|
||||
|
||||
module("model:theme");
|
||||
QUnit.module("model:theme");
|
||||
|
||||
test('can add an upload correctly', function(assert) {
|
||||
QUnit.test('can add an upload correctly', function(assert) {
|
||||
let theme = Theme.create();
|
||||
|
||||
assert.equal(theme.get("uploads.length"), 0, "uploads should be an empty array");
|
||||
@ -14,4 +14,4 @@ test('can add an upload correctly', function(assert) {
|
||||
assert.equal(fields[0].type_id, 2, 'expecting type id to be set');
|
||||
|
||||
assert.equal(theme.get("uploads.length"), 1, "expecting an upload");
|
||||
});
|
||||
});
|
Reference in New Issue
Block a user