File tree 1 file changed +17
-12
lines changed
1 file changed +17
-12
lines changed Original file line number Diff line number Diff line change @@ -124,19 +124,24 @@ describe('Acceptance: ng init', function() {
124
124
} ) ;
125
125
126
126
it ( 'init an already init\'d folder' , function ( ) {
127
+ return ng ( [
128
+ 'init' ,
129
+ '--skip-npm' ,
130
+ '--skip-bower'
131
+ ] )
132
+ . then ( function ( ) {
133
+ // ignore the favicon file for the the unit test since it breaks at ember-cli level
134
+ // when trying to re-init
135
+ Blueprint . ignoredFiles . push ( 'favicon.ico' ) ;
136
+ } )
137
+ . then ( function ( ) {
127
138
return ng ( [
128
- 'init' ,
129
- '--skip-npm' ,
130
- '--skip-bower'
131
- ] )
132
- . then ( function ( ) {
133
- return ng ( [
134
- 'init' ,
135
- '--skip-npm' ,
136
- '--skip-bower'
137
- ] ) ;
138
- } )
139
- . then ( confirmBlueprinted ) ;
139
+ 'init' ,
140
+ '--skip-npm' ,
141
+ '--skip-bower'
142
+ ] ) ;
143
+ } )
144
+ . then ( confirmBlueprinted ) ;
140
145
} ) ;
141
146
142
147
it ( 'init a single file' , function ( ) {
You can’t perform that action at this time.
0 commit comments