now working as intended

This commit is contained in:
2016-07-25 01:54:36 +02:00
parent effe9210fc
commit ca2ff3481e
21 changed files with 258 additions and 207 deletions

View File

@@ -27,6 +27,7 @@ describe("smartnginx",function(){
});
});
describe("NginxConfig",function(){
this.timeout(10000);
it(`"new NginxConfig()" should produce an instance of NginxConfig`,function(){
testNginxConfig = new smartnginx.NginxConfig({
cfEmail: process.env.CF_EMAIL,
@@ -42,7 +43,7 @@ describe("smartnginx",function(){
})
});
describe(".deploy()",function(){
this.timeout(240000);
this.timeout(600000);
it("should deploy a config from an instance",function(done){
testNginxConfig.deploy()
.then(() => {