fix tests

This commit is contained in:
Matias Alejo Garcia 2016-07-28 15:04:09 -03:00
commit fb578eaffb
No known key found for this signature in database
GPG key ID: 02470DB551277AB3
8 changed files with 22 additions and 110 deletions

View file

@ -90,9 +90,10 @@ describe('importController', function() {
scope.bwsurl = null;
scope._walletPrivKey = 'Kz4CFSTgLzoYfMkt97BTBotUbZYXjMts6Ej9HbVfCf5oLmun1BXy';
ctrl.setSeedSource();
ctrl.importMnemonic(fakeForm);
should.not.exist(ctrl.error);
scope.setSeedSource();
scope.importMnemonic(fakeForm);
should.not.exist(scope.error);
mocks.notification.success.calledOnce.should.equal(true);