1
0
Fork 0
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:
McMatts 2018-03-23 11:47:59 +00:00
parent eaf46f06c1
commit 5c0b87bac5
5 changed files with 302 additions and 235 deletions

View file

@ -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);