mirror of
https://github.com/discourse/discourse.git
synced 2025-09-07 12:02:53 +08:00
Upgrade ember-qunit
This commit is contained in:
parent
151597bf0f
commit
6a1c05a268
9 changed files with 341 additions and 75 deletions
|
@ -1,8 +1,12 @@
|
|||
import { blank, present } from 'helpers/qunit-helpers';
|
||||
import { mapRoutes } from 'discourse/mapping-router';
|
||||
|
||||
moduleFor('controller:topic', 'controller:topic', {
|
||||
needs: ['controller:modal', 'controller:composer', 'controller:quote-button',
|
||||
'controller:application']
|
||||
'controller:application'],
|
||||
setup() {
|
||||
this.registry.register('router:main', mapRoutes());
|
||||
},
|
||||
});
|
||||
|
||||
import Topic from 'discourse/models/topic';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue