it( 'should create a default commit message if no version is passed', () => { util.git.commit(); expect( execStub ).toBeCalledWith( 'git commit -am "Auto-incrementing version"' ); } );
commit: function(fn){ utils.git.commit(language.version.new, function(err){ if(err) return fn(err); else{ logger.info("Committed changes!"); return fn(); } }); },
it( 'should create a commit message using the passed version', () => { util.git.commit( '1.0.0' ); expect( execStub ).toBeCalledWith( 'git commit -am "1.0.0"' ); } );