now writing configs properly to disk
This commit is contained in:
12
test/test.ts
12
test/test.ts
@@ -21,6 +21,16 @@ describe("smartnginx",function(){
|
||||
it(`"new NginxConfig()" should produce an instance of NginxConfig`,function(){
|
||||
testNginxConfig = new smartnginx.NginxConfig();
|
||||
testNginxConfig.should.be.instanceof(smartnginx.NginxConfig);
|
||||
});
|
||||
});
|
||||
describe(".addZone()",function(){
|
||||
it("should add a zone to NginxConfig Object",function(){
|
||||
testNginxConfig.addZone(testNginxZone01);
|
||||
})
|
||||
});
|
||||
describe(".deploy()",function(){
|
||||
it("should deploy a config from an instance",function(){
|
||||
testNginxConfig.deploy();
|
||||
})
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user