diff --git a/app/tests/helpers/module-for-acceptance.js b/app/tests/helpers/module-for-acceptance.js index 562c95a5..292ebf5d 100644 --- a/app/tests/helpers/module-for-acceptance.js +++ b/app/tests/helpers/module-for-acceptance.js @@ -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); diff --git a/app/tests/helpers/start-app.js b/app/tests/helpers/start-app.js index e098f1d5..b6394337 100644 --- a/app/tests/helpers/start-app.js +++ b/app/tests/helpers/start-app.js @@ -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;