add test to join!

This commit is contained in:
Matias Alejo Garcia 2016-06-15 13:07:02 -03:00
commit f2012ee5bb
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
4 changed files with 121 additions and 40 deletions

View file

@ -117,7 +117,6 @@ 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'
@ -132,12 +131,8 @@ console.log('[create.test.js.119]'); //TODO
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);
//