 			@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(@fsRenameStub).to.have.been.calledWith(@tempFile + '/bin/node', @destFile)
+				expect(@utilsMkdirp).to.have.been.calledWith('dest')
+				binPath = path.join(@tempFile, 'bin', 'node')
+				expect(@fsRenameStub).to.have.been.calledWith(binPath, @destFile)
 				expect(@utilsRemoveDirectory).to.have.been.calledWith(@tempFile)
 				done()

				os: 'linux'
				version: 'v0.12.0'

			@tempFile = '/tmp/node-v0.12.0-linux-x64'
			@destFile = '/dest/node-v0.12.0-linux-x64'

			@utilsDownloadNodePackageStub = sinon.stub(utils, 'downloadNodePackage')
			@utilsDownloadNodePackageStub.yields(null, @tempFile)

				os: 'win32'
				version: 'v0.12.0'

			@tempFile = path.join('tmp', 'node.exe')
			@destFile = path.join('dest', 'node-v0.12.0-win32-x64.exe')

			@utilsDownloadNodePackageStub = sinon.stub(utils, 'downloadNodePackage')
			@utilsDownloadNodePackageStub.yields(null, @tempFile)
