@@ -287,8 +287,8 @@ describe('project', function() {
287287 project . verify ( projPath , { } , function ( err , reply ) {
288288 should . not . exist ( err ) ;
289289
290- capture . output ( ) . should . containDeep ( '\nProject Errors\n--------------\n#/swagger:' ) ;
291- reply . should . containDeep ( 'Results:' ) ;
290+ capture . output ( ) . should . startWith ( '\nProject Errors\n--------------\n#/swagger:' ) ;
291+ reply . should . startWith ( 'Results:' ) ;
292292 done ( ) ;
293293 } )
294294 } ) ;
@@ -365,7 +365,7 @@ describe('project', function() {
365365 } ) ;
366366
367367
368- describe ( 'generate-test' , function ( ) {
368+ describe . only ( 'generate-test' , function ( ) {
369369
370370 var name = 'generate-test' ;
371371 var projPath ;
@@ -403,7 +403,7 @@ describe('project', function() {
403403
404404 } ) ;
405405
406- it ( 'should pass assertion fotmat options' , function ( done ) {
406+ it ( 'should pass assertion format options' , function ( done ) {
407407 var options = { assertionFormat : 'expect' , force : true } ;
408408 project . generateTest ( projPath , options , function ( err ) {
409409 fs . existsSync ( path . resolve ( projPath , 'test/api/client/hello-test.js' ) ) . should . be . ok ;
@@ -455,6 +455,7 @@ describe('project', function() {
455455
456456 process . nextTick ( function mockResponse ( ) {
457457 stdin . send ( 'y\n' ) ;
458+ stdin . send ( 'y\n' ) ;
458459 } ) ;
459460
460461 project . generateTest ( projPath , { } , function ( err ) {
@@ -488,6 +489,7 @@ describe('project', function() {
488489
489490 process . nextTick ( function mockResponse ( ) {
490491 stdin . send ( 'n\n' ) ;
492+ stdin . send ( 'n\n' ) ;
491493 } ) ;
492494
493495 project . generateTest ( projPath , { } , function ( err ) {
0 commit comments