@@ -103,42 +103,6 @@ describe('Acceptance: ng new', function () {
103103 . then ( confirmBlueprinted ) ;
104104 } ) ;
105105
106- it ( 'ng new with blueprint uses the specified blueprint directory with a relative path' ,
107- function ( ) {
108- return tmp . setup ( './tmp/my_blueprint' )
109- . then ( function ( ) {
110- return tmp . setup ( './tmp/my_blueprint/files' ) ;
111- } )
112- . then ( function ( ) {
113- fs . writeFileSync ( './tmp/my_blueprint/files/gitignore' ) ;
114- process . chdir ( './tmp' ) ;
115-
116- return ng ( [
117- 'new' , 'foo' , '--skip-npm' , '--skip-bower' , '--skip-git' ,
118- '--blueprint=./my_blueprint'
119- ] ) ;
120- } )
121- . then ( confirmBlueprintedForDir ( 'tmp/my_blueprint' ) ) ;
122- } ) ;
123-
124- it ( 'ng new with blueprint uses the specified blueprint directory with an absolute path' ,
125- function ( ) {
126- return tmp . setup ( './tmp/my_blueprint' )
127- . then ( function ( ) {
128- return tmp . setup ( './tmp/my_blueprint/files' ) ;
129- } )
130- . then ( function ( ) {
131- fs . writeFileSync ( './tmp/my_blueprint/files/gitignore' ) ;
132- process . chdir ( './tmp' ) ;
133-
134- return ng ( [
135- 'new' , 'foo' , '--skip-npm' , '--skip-bower' , '--skip-git' ,
136- '--blueprint=' + path . resolve ( process . cwd ( ) , './my_blueprint' )
137- ] ) ;
138- } )
139- . then ( confirmBlueprintedForDir ( 'tmp/my_blueprint' ) ) ;
140- } ) ;
141-
142106 it ( 'ng new without skip-git flag creates .git dir' , function ( ) {
143107 return ng ( [ 'new' , 'foo' , '--skip-npm' , '--skip-bower' ] ) . then ( function ( ) {
144108 expect ( existsSync ( '.git' ) ) ;
0 commit comments