mirror of https://github.com/docker/docs.git
Update tests
This commit is contained in:
parent
9b32a6a680
commit
71d168a7cf
|
@ -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(() => {
|
||||
|
|
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue