Update tests

This commit is contained in:
Jeffrey Morgan 2015-03-01 17:11:55 -05:00
parent 9b32a6a680
commit 71d168a7cf
2 changed files with 3 additions and 2 deletions

View File

@ -61,7 +61,9 @@ describe('SetupStore', function () {
describe('init step', function () {
virtualBox.vmdestroy.mockReturnValue(Promise.resolve());
pit('inintializes the boot2docker vm if it does not exist', function () {
pit('inintializes the machine vm if it does not exist', function () {
util.home.mockReturnValue('home');
machine.name.mockReturnValue('name');
machine.exists.mockReturnValue(Promise.resolve(false));
machine.create.mockReturnValue(Promise.resolve());
return setupStore.steps().init.run().then(() => {

View File

@ -212,7 +212,6 @@ var SetupStore = assign(Object.create(EventEmitter.prototype), {
setup: Promise.coroutine(function * () {
while (true) {
var info = yield this.run();
console.log(info);
if (!info.url) {
metrics.track('Setup Failed', {
step: 'done',