 			@utilsMkdirp.restore()
 
 		it 'should complete the download in the correct place', (done) ->
-			binary.download @node, '/dest', (error, binaryFile) =>
+			binary.download @node, 'dest', (error, binaryFile) =>
 				expect(error).to.not.exist
 				expect(binaryFile).to.equal(@destFile)
-				expect(@utilsMkdirp).to.have.been.calledWith('/dest')
+				expect(@utilsMkdirp).to.have.been.calledWith('dest')
 				expect(@fsRenameStub).to.have.been.calledWith(@tempFile, @destFile)
 				expect(@utilsRemoveDirectory).to.have.been.calledWith(@tempFile)
 				done()

			@utilsMkdirp.restore()

		it 'should complete the download in the correct place', (done) ->
			binary.download @node, '/dest', (error, binaryFile) =>
				expect(error).to.not.exist
				expect(binaryFile).to.equal(@destFile)
				expect(@utilsMkdirp).to.have.been.calledWith('/dest')
				expect(@fsRenameStub).to.have.been.calledWith(@tempFile + '/bin/node', @destFile)
				expect(@utilsRemoveDirectory).to.have.been.calledWith(@tempFile)
				done()


path = require('path')
sinon = require('sinon')
_ = require('lodash-contrib')
chai = require('chai')
