1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-08 15:05:28 +02:00

Add helpers to moduleForAcceptance and added helper names to prevent jshint warnings

This commit is contained in:
zinyando 2016-05-19 17:36:55 +02:00
parent 5a4dc1534f
commit 6ca10b277c
2 changed files with 5 additions and 0 deletions

View file

@ -6,6 +6,8 @@ export default function(name, options = {}) {
module(name, {
beforeEach() {
this.application = startApp();
stubAudit(this);
stubSession(this);
if (options.beforeEach) {
options.beforeEach.apply(this, arguments);

View file

@ -1,6 +1,9 @@
import Ember from 'ember';
import Application from '../../app';
import config from '../../config/environment';
import './stub-session';
import './stub-audit';
import './user-login';
export default function startApp(attrs) {
let application;