File tree Expand file tree Collapse file tree 15 files changed +45
-33
lines changed Expand file tree Collapse file tree 15 files changed +45
-33
lines changed Original file line number Diff line number Diff line change @@ -3,12 +3,13 @@ import Ember from "ember";
3
3
import sessionData from '../../helpers/payloads/sessionData' ;
4
4
import startApp from "mcac/tests/helpers/start-app" ;
5
5
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
6
- import { module , test } from 'qunit' ;
6
+ import { test } from 'qunit' ;
7
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
7
8
import { faker } from "ember-cli-mirage" ;
8
9
9
10
let application ;
10
11
11
- module ( 'Acceptance | bulletin/edit' , {
12
+ moduleForAcceptance ( 'Acceptance | bulletin/edit' , {
12
13
beforeEach ( ) {
13
14
application = startApp ( ) ;
14
15
} ,
Original file line number Diff line number Diff line change 1
1
import Ember from "ember" ;
2
- import { test , module } from "qunit" ;
2
+ import { test } from 'qunit' ;
3
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
3
4
import startApp from "../../helpers/start-app" ;
4
5
import page from "mcac/tests/pages/bulletin-index" ;
5
6
6
7
let application ;
7
8
8
- module ( 'Acceptance: View bulletin' , {
9
+ moduleForAcceptance ( 'Acceptance: View bulletin' , {
9
10
beforeEach : ( ) => application = startApp ( ) ,
10
11
afterEach : ( ) => Ember . run ( application , 'destroy' )
11
12
} ) ;
Original file line number Diff line number Diff line change 1
1
import Ember from 'ember' ;
2
2
import startApp from '../../helpers/start-app' ;
3
- import { test , module } from 'qunit' ;
3
+ import { test } from 'qunit' ;
4
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
4
5
import mockServer from '../../helpers/server' ;
5
6
import BulletinPayload from '../../helpers/payloads/bulletin' ;
6
7
import sessionData from '../../helpers/payloads/sessionData' ;
7
8
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
8
9
9
10
let application , fakeServer ;
10
11
11
- module ( 'Acceptance: BulletinsIndex' , {
12
+ moduleForAcceptance ( 'Acceptance: BulletinsIndex' , {
12
13
beforeEach : function ( ) {
13
14
application = startApp ( ) ;
14
15
fakeServer = mockServer ( ) ;
Original file line number Diff line number Diff line change @@ -4,11 +4,12 @@ import nextService from 'mcac/utils/next-service';
4
4
import sessionData from '../../helpers/payloads/sessionData' ;
5
5
import startApp from "mcac/tests/helpers/start-app" ;
6
6
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
7
- import { module , test } from 'qunit' ;
7
+ import { test } from 'qunit' ;
8
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
8
9
9
10
let application ;
10
11
11
- module ( 'Acceptance | bulletins/new' , {
12
+ moduleForAcceptance ( 'Acceptance | bulletins/new' , {
12
13
beforeEach ( ) {
13
14
application = startApp ( ) ;
14
15
} ,
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ import page from "mcac/tests/pages/dashboard";
3
3
import sessionData from '../../helpers/payloads/sessionData' ;
4
4
import startApp from "mcac/tests/helpers/start-app" ;
5
5
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
6
- import { module , test } from 'qunit' ;
6
+ import { test } from 'qunit' ;
7
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
7
8
8
9
let application ;
9
10
10
- module ( 'Acceptance | dashboard' , {
11
+ moduleForAcceptance ( 'Acceptance | dashboard' , {
11
12
beforeEach ( ) {
12
13
application = startApp ( ) ;
13
14
} ,
Original file line number Diff line number Diff line change @@ -2,11 +2,12 @@ import ENV from "mcac/config/environment";
2
2
import Ember from "ember" ;
3
3
import page from "mcac/tests/pages/group-index" ;
4
4
import startApp from "mcac/tests/helpers/start-app" ;
5
- import { module , test } from 'qunit' ;
5
+ import { test } from 'qunit' ;
6
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
6
7
7
8
let application ;
8
9
9
- module ( 'Acceptance | group/index' , {
10
+ moduleForAcceptance ( 'Acceptance | group/index' , {
10
11
beforeEach ( ) {
11
12
application = startApp ( ) ;
12
13
} ,
Original file line number Diff line number Diff line change @@ -3,11 +3,12 @@ import NewGroupPage from "mcac/tests/helpers/pages/groups/new";
3
3
import sessionData from '../../helpers/payloads/sessionData' ;
4
4
import startApp from "mcac/tests/helpers/start-app" ;
5
5
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
6
- import { module , test } from 'qunit' ;
6
+ import { test } from 'qunit' ;
7
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
7
8
8
9
let application ;
9
10
10
- module ( 'Acceptance | groups/new' , {
11
+ moduleForAcceptance ( 'Acceptance | groups/new' , {
11
12
beforeEach ( ) {
12
13
application = startApp ( ) ;
13
14
} ,
Original file line number Diff line number Diff line change 1
1
import Ember from 'ember' ;
2
2
import startApp from '../helpers/start-app' ;
3
- import { module , test } from 'qunit' ;
3
+ import { test } from 'qunit' ;
4
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
4
5
import sessionData from "../helpers/payloads/sessionData" ;
5
6
import { authenticateSession } from 'mcac/tests/helpers/ember-simple-auth' ;
6
7
import page from "mcac/tests/pages/login" ;
7
8
8
9
var application ;
9
10
10
- module ( 'Acceptance: Login' , {
11
+ moduleForAcceptance ( 'Acceptance: Login' , {
11
12
beforeEach : function ( ) {
12
13
application = startApp ( ) ;
13
14
} ,
Original file line number Diff line number Diff line change 1
1
import Ember from "ember" ;
2
2
import page from "mcac/tests/pages/page-index" ;
3
3
import startApp from "mcac/tests/helpers/start-app" ;
4
- import { module , test } from 'qunit' ;
4
+ import { test } from 'qunit' ;
5
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
5
6
6
7
let application ;
7
8
8
- module ( 'Acceptance | PageIndex' , {
9
+ moduleForAcceptance ( 'Acceptance | PageIndex' , {
9
10
beforeEach ( ) {
10
11
application = startApp ( ) ;
11
12
} ,
Original file line number Diff line number Diff line change 1
1
import Ember from 'ember' ;
2
- import { module , test } from 'qunit' ;
2
+ import { test } from 'qunit' ;
3
+ import moduleForAcceptance from 'mcac/tests/helpers/module-for-acceptance'
3
4
import startApp from 'mcac/tests/helpers/start-app' ;
4
5
import page from "mcac/tests/pages/post-index" ;
5
6
6
7
var application ;
7
8
8
- module ( 'Acceptance: PostIndex' , {
9
+ moduleForAcceptance ( 'Acceptance: PostIndex' , {
9
10
beforeEach : function ( ) {
10
11
application = startApp ( ) ;
11
12
} ,
You can’t perform that action at this time.
0 commit comments