mirror of
https://github.com/documize/community.git
synced 2025-07-20 21:59:42 +02:00
Upgrade EmberJS testing
This commit is contained in:
parent
eaf46f06c1
commit
5c0b87bac5
5 changed files with 302 additions and 235 deletions
|
@ -7,15 +7,15 @@ export default function(name, options = {}) {
|
|||
module(name, {
|
||||
beforeEach() {
|
||||
this.application = startApp();
|
||||
localStorage.setItem('folder', 'VzMuyEw_3WqiafcG');
|
||||
stubAudit(this);
|
||||
stubUserNotification(this);
|
||||
server.createList('folder', 2);
|
||||
server.createList('user', 2);
|
||||
server.createList('document', 2);
|
||||
server.createList('permission', 4);
|
||||
// server.createList('folder-permission', 2);
|
||||
server.createList('organization', 1);
|
||||
// localStorage.setItem('folder', 'VzMuyEw_3WqiafcG');
|
||||
// stubAudit(this);
|
||||
// stubUserNotification(this);
|
||||
// server.createList('folder', 2);
|
||||
// server.createList('user', 2);
|
||||
// server.createList('document', 2);
|
||||
// server.createList('permission', 4);
|
||||
// // server.createList('folder-permission', 2);
|
||||
// server.createList('organization', 1);
|
||||
|
||||
if (options.beforeEach) {
|
||||
return options.beforeEach.apply(this, arguments);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue