From 7169b067729a709ec64039d18021c9779b5d9cc9 Mon Sep 17 00:00:00 2001 From: Dave Eddy Date: Fri, 25 Sep 2015 13:13:39 -0400 Subject: [PATCH] destructive => destructiveAllowed --- test/integration/cli-manage-workflow.test.js | 2 +- test/integration/helpers.js | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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');