adds test for folder name

This commit is contained in:
Eetu Tuomala 2016-11-04 15:04:21 +02:00
parent bceb6dad8c
commit 068059e44d

View File

@ -109,6 +109,7 @@ describe('Install', () => {
return install.install().then(() => {
expect(downloadStub.calledOnce).to.equal(true);
expect(downloadStub.args[0][1]).to.contain(install.options.name);
expect(downloadStub.args[0][0]).to.equal(`${install.options.url}/archive/master.zip`);
});
});