File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ describe('models', function () {
671671 } ) ;
672672 } ) ;
673673
674- it ( 'should do something ' , function ( done ) {
674+ it ( 'verify the response examples ' , function ( done ) {
675675 var spec = {
676676 swagger : '2.0' ,
677677 paths : {
@@ -682,7 +682,7 @@ describe('models', function () {
682682 responses : {
683683 200 : {
684684 description : 'OK' ,
685- schema : {
685+ schema : {
686686 $ref : '#/definitions/A'
687687 } ,
688688 examples : {
@@ -699,7 +699,7 @@ describe('models', function () {
699699 responses : {
700700 200 : {
701701 description : 'OK' ,
702- schema : {
702+ schema : {
703703 $ref : '#/definitions/A'
704704 } ,
705705 examples : {
@@ -728,7 +728,6 @@ describe('models', function () {
728728 usePromise : true
729729 } ) . then ( function ( client ) {
730730 expect ( client . apisArray [ 0 ] . operationsArray [ 0 ] . successResponse [ '200' ] . name ) . toEqual ( 'A' ) ;
731- expect ( client . apisArray [ 0 ] . operationsArray [ 1 ] . successResponse [ '200' ] . name ) . toEqual ( 'B' ) ;
732731 done ( ) ;
733732 } )
734733 } )
You can’t perform that action at this time.
0 commit comments