diff --git a/test/integration/cli-manage-workflow.test.js b/test/integration/cli-manage-workflow.test.js index 2d719d8..a0dec61 100644 --- a/test/integration/cli-manage-workflow.test.js +++ b/test/integration/cli-manage-workflow.test.js @@ -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; } diff --git a/test/integration/helpers.js b/test/integration/helpers.js index 0e6bbef..6b6c29b 100644 --- a/test/integration/helpers.js +++ b/test/integration/helpers.js @@ -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');