destructive => destructiveAllowed

This commit is contained in:
Dave Eddy 2015-09-25 13:13:39 -04:00
parent e5c5f2d54c
commit 7169b06772
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ var VM_PACKAGE = 't4-standard-128M';
// TODO clean this up
assert.equal(h.CONFIG.url, 'https://us-east-3b.api.joyent.com');
if (h.CONFIG.destructive !== true) {
if (h.CONFIG.destructiveAllowed !== true) {
console.error('skipping manage integration tests - destructive actions disabled');
return;
}

View File

@ -30,9 +30,9 @@ try {
assert.string(CONFIG.keyId, 'test/config.json#keyId');
if (CONFIG.insecure === undefined)
CONFIG.insecure = false;
if (CONFIG.destructive === undefined)
CONFIG.destructive = false;
assert.bool(CONFIG.insecure, 'test/config.json#destructive');
if (CONFIG.destructiveAllowed === undefined)
CONFIG.destructiveAllowed = false;
assert.bool(CONFIG.insecure, 'test/config.json#destructiveAllowed');
} catch (e) {
error('* * *');
error('node-triton integration tests require a ./test/config.json');