fix tests

This commit is contained in:
Matias Alejo Garcia 2016-06-13 17:10:03 -03:00
commit a1eca63de4
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 21 additions and 1 deletions

View file

@ -117,6 +117,7 @@ describe('createController', function() {
it('should create a 1-1 wallet from mnemonic', function(done) {
var fakeForm = {};
console.log('[create.test.js.119]'); //TODO
// FROM DATA
scope.seedSource = {
id: 'set'
@ -131,8 +132,12 @@ describe('createController', function() {
scope._walletPrivKey = 'Kz4CFSTgLzoYfMkt97BTBotUbZYXjMts6Ej9HbVfCf5oLmun1BXy';
ctrl.setSeedSource();
console.log('[create.test.js.135]'); //TODO
ctrl.create(fakeForm);
console.log('[create.test.js.138]'); //TODO
should.not.exist(ctrl.error);
mocks.go.walletHome.calledOnce.should.equal(true);
//