it( 'should create a commit message using the passed version', () => { util.git.checkBranch(); expect( execStub ).toBeCalledWith( 'git rev-parse --abbrev-ref HEAD' ); } );