@@ -47,13 +47,14 @@ describe('info command', function() {
4747 expect ( appLibInfo . checkRuntime ) . not . toHaveBeenCalled ( ) ;
4848 } ) ;
4949
50- it ( 'should fail if any Info task throws ' , function ( ) {
50+ it ( 'should gather info ' , function ( ) {
5151 var gatheredInfo = { info : 'hi' } ;
5252 spyOn ( appLibUtils , 'fail' ) ;
5353 spyOn ( process , 'cwd' ) . andReturn ( '/hello/how/areyou' ) ;
5454 spyOn ( appLibInfo , 'gatherInfo' ) . andReturn ( gatheredInfo ) ;
5555 spyOn ( appLibInfo , 'getIonicVersion' ) ;
5656 spyOn ( appLibInfo , 'getIonicCliVersion' ) ;
57+ spyOn ( appLibInfo , 'getIonicAppScriptsVersion' ) ;
5758 spyOn ( appLibInfo , 'printInfo' ) ;
5859 spyOn ( appLibInfo , 'checkRuntime' ) ;
5960
@@ -62,6 +63,7 @@ describe('info command', function() {
6263 expect ( appLibInfo . gatherInfo ) . toHaveBeenCalled ( ) ;
6364 expect ( appLibInfo . getIonicVersion ) . toHaveBeenCalledWith ( gatheredInfo , '/hello/how/areyou' ) ;
6465 expect ( appLibInfo . getIonicCliVersion ) . toHaveBeenCalledWith ( gatheredInfo , jasmine . any ( String ) ) ;
66+ expect ( appLibInfo . getIonicAppScriptsVersion ) . toHaveBeenCalledWith ( gatheredInfo , '/hello/how/areyou' ) ;
6567 expect ( appLibInfo . printInfo ) . toHaveBeenCalledWith ( gatheredInfo ) ;
6668 expect ( appLibInfo . checkRuntime ) . toHaveBeenCalled ( ) ;
6769
0 commit comments