@@ -53,32 +53,6 @@ describe('angular-fullstack generator', function () {
5353 } . bind ( this ) ) ;
5454 } ) ;
5555
56- it ( 'should generate expected files' , function ( done ) {
57- helpers . mockPrompt ( gen , defaultOptions ) ;
58-
59- gen . run ( { } , function ( ) {
60- helpers . assertFile ( [
61- 'client/.htaccess' ,
62- 'client/favicon.ico' ,
63- 'client/robots.txt' ,
64- 'client/app/main/main.scss' ,
65- 'client/app/main/main.html' ,
66- 'client/index.html' ,
67- 'client/.jshintrc' ,
68- 'client/assets/images/yeoman.png' ,
69- '.bowerrc' ,
70- '.editorconfig' ,
71- '.gitignore' ,
72- 'Gruntfile.js' ,
73- 'package.json' ,
74- 'bower.json' ,
75- 'server/app.js' ,
76- 'server/config/express.js' ,
77- 'server/api/thing/index.js' ] ) ;
78- done ( ) ;
79- } ) ;
80- } ) ;
81-
8256 describe ( 'running app' , function ( ) {
8357 beforeEach ( function ( ) {
8458 this . timeout ( 20000 ) ;
@@ -294,6 +268,31 @@ describe('angular-fullstack generator', function () {
294268 } ) ;
295269 } ) ;
296270
271+ it ( 'should generate expected files' , function ( done ) {
272+ helpers . mockPrompt ( gen , defaultOptions ) ;
273+
274+ gen . run ( { } , function ( ) {
275+ helpers . assertFile ( [
276+ 'client/.htaccess' ,
277+ 'client/favicon.ico' ,
278+ 'client/robots.txt' ,
279+ 'client/app/main/main.scss' ,
280+ 'client/app/main/main.html' ,
281+ 'client/index.html' ,
282+ 'client/.jshintrc' ,
283+ 'client/assets/images/yeoman.png' ,
284+ '.bowerrc' ,
285+ '.editorconfig' ,
286+ '.gitignore' ,
287+ 'Gruntfile.js' ,
288+ 'package.json' ,
289+ 'bower.json' ,
290+ 'server/app.js' ,
291+ 'server/config/express.js' ,
292+ 'server/api/thing/index.js' ] ) ;
293+ done ( ) ;
294+ } ) ;
295+ } ) ;
297296 } ) ;
298297 } ) ;
299298} ) ;
0 commit comments