update deps and exclude any config from git

This commit is contained in:
LosslessBot
2016-07-13 16:19:00 +02:00
parent 2caa3c3d1a
commit a2bf0315ac
8 changed files with 15 additions and 185 deletions

View File

@@ -6,8 +6,6 @@ import * as smartnginx from "../dist/index";
// setup environment
let testQenv = new Qenv(process.cwd(),path.join(process.cwd(),".nogit"));
console.log(process.env.CF_EMAIL);
console.log(process.env.CF_KEY);
describe("smartnginx",function(){
let testNginxConfig:smartnginx.NginxConfig;
let testNginxZone01:smartnginx.NginxZone;
@@ -17,6 +15,11 @@ describe("smartnginx",function(){
testNginxZone01 = new smartnginx.NginxZone({
zoneName:"test100.bleu.de",
type:smartnginx.zoneTypes.reverseProxy,
destination:"192.192.192.191"
});
testNginxZone02 = new smartnginx.NginxZone({
zoneName:"test102.bleu.de",
type:smartnginx.zoneTypes.reverseProxy,
destination:"192.192.192.192"
});
testNginxZone01.should.be.instanceof(smartnginx.NginxZone);
@@ -35,6 +38,7 @@ describe("smartnginx",function(){
describe(".addZone()",function(){
it("should add a zone to NginxConfig Object",function(){
testNginxConfig.addZone(testNginxZone01);
testNginxConfig.addZone(testNginxZone02);
})
});
describe(".deploy()",function(){