 				os: 'sunos'
 				version: 'v0.12.0'
 
-			@tempFile = '/tmp/node-v0.12.0-sunos-x64'
-			@destFile = '/dest/node-v0.12.0-sunos-x64'
+			@tempFile = path.join('tmp', 'node-v0.12.0-sunos-x64')
+			@destFile = path.join('dest', 'node-v0.12.0-sunos-x64')
 
 			@utilsDownloadNodePackageStub = sinon.stub(utils, 'downloadNodePackage')
 			@utilsDownloadNodePackageStub.yields(null, @tempFile)

			@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()

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

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

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