@@ -108,20 +108,20 @@ describe('angular-fullstack:app', function() {
108
108
return assertOnlyFiles ( expectedFiles , path . normalize ( dir ) ) . should . eventually . be . fulfilled ;
109
109
} ) ;
110
110
111
- it ( 'passes JSCS' , function ( done ) {
112
- runCmd ( 'grunt jscs' , done ) ;
111
+ it ( 'passes JSCS' , function ( ) {
112
+ return runCmd ( 'grunt jscs' ) . should . be . fulfilled ( ) ;
113
113
} ) ;
114
114
115
- it ( 'passes JSHint' , function ( done ) {
116
- runCmd ( 'grunt jshint' , done ) ;
115
+ it ( 'passes JSHint' , function ( ) {
116
+ return runCmd ( 'grunt jshint' ) . should . be . fulfilled ( ) ;
117
117
} ) ;
118
118
119
- it ( 'passes client tests' , function ( done ) {
120
- runCmd ( 'grunt test:client' , done ) ;
119
+ it ( 'passes client tests' , function ( ) {
120
+ return runCmd ( 'grunt test:client' ) . should . be . fulfilled ( ) ;
121
121
} ) ;
122
122
123
- it ( 'passes server tests' , function ( done ) {
124
- runCmd ( 'grunt test:server' , done ) ;
123
+ it ( 'passes server tests' , function ( ) {
124
+ return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
125
125
} ) ;
126
126
127
127
describe ( 'with a generated endpont' , function ( ) {
@@ -135,8 +135,8 @@ describe('angular-fullstack:app', function() {
135
135
136
136
it ( 'should pass lint' ) ;
137
137
138
- it ( 'should run server tests successfully' , function ( done ) {
139
- runCmd ( 'grunt test:server' , done ) ;
138
+ it ( 'should run server tests successfully' , function ( ) {
139
+ return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
140
140
} ) ;
141
141
} ) ;
142
142
@@ -151,8 +151,8 @@ describe('angular-fullstack:app', function() {
151
151
152
152
it ( 'should pass lint' ) ;
153
153
154
- it ( 'should run server tests successfully' , function ( done ) {
155
- runCmd ( 'grunt test:server' , done ) ;
154
+ it ( 'should run server tests successfully' , function ( ) {
155
+ return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
156
156
} ) ;
157
157
} ) ;
158
158
@@ -167,8 +167,8 @@ describe('angular-fullstack:app', function() {
167
167
168
168
it ( 'should pass lint' ) ;
169
169
170
- it ( 'should run server tests successfully' , function ( done ) {
171
- runCmd ( 'grunt test:server' , done ) ;
170
+ it ( 'should run server tests successfully' , function ( ) {
171
+ return runCmd ( 'grunt test:server' ) . should . be . fulfilled ( ) ;
172
172
} ) ;
173
173
} ) ;
174
174
0 commit comments