mirror of
https://github.com/documize/community.git
synced 2025-08-08 06:55:28 +02:00
Add helpers to moduleForAcceptance and added helper names to prevent jshint warnings
This commit is contained in:
parent
5a4dc1534f
commit
6ca10b277c
2 changed files with 5 additions and 0 deletions
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue