fix(core): update

This commit is contained in:
2019-01-18 00:45:29 +01:00
parent 85448a21fc
commit 85639f29af
5 changed files with 95 additions and 54 deletions

View File

@ -31,9 +31,9 @@ tap.test(`should produce an instance of NginxConfig`, async () => {
expect(testNginxZone01).to.be.instanceof(smartnginx.NginxHost);
});
tap.test('.addZone() should add a zone to NginxConfig Object', async () => {
testSmartNginx.addHost(testNginxZone01);
testSmartNginx.addHost(testNginxZone02);
tap.test('.addHostCandidate() should add a zone to NginxConfig Object', async () => {
testSmartNginx.addHostCandidate(testNginxZone01);
testSmartNginx.addHostCandidate(testNginxZone02);
});
tap.test('.deploy() should deploy a config from an instance', async () => {