2016-04-02 04:11:58 +00:00
|
|
|
#!/usr/bin/env node
|
|
|
|
|
|
|
|
/*
|
|
|
|
* This test cleans up all t-* cloudrons from previous run.
|
|
|
|
*/
|
|
|
|
|
|
|
|
'use strict';
|
|
|
|
|
|
|
|
var AppStore = require('../appstore.js'),
|
|
|
|
common = require('../common.js'),
|
|
|
|
execSync = require('child_process').execSync;
|
|
|
|
|
|
|
|
require('colors');
|
|
|
|
|
|
|
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = '0';
|
|
|
|
|
|
|
|
describe('Revert fake release', function () {
|
2016-04-02 05:37:48 +00:00
|
|
|
this.timeout(0);
|
|
|
|
|
2016-04-02 04:11:58 +00:00
|
|
|
it('can revert the fake release from staging', function () {
|
|
|
|
execSync(__dirname + '/../../release/release revert --env staging', { stdio: [ null, process.stdout, process.stderr ] });
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|