fixed tests

This commit is contained in:
Ivan Socolsky 2014-10-28 15:56:03 -03:00
commit 0190a9d1fe
2 changed files with 13 additions and 20 deletions

View file

@ -257,7 +257,7 @@ describe('Identity model', function() {
cryptoUtil: fakeCrypto, cryptoUtil: fakeCrypto,
}; };
Identity.create(args.params, function(err, iden) { var iden = Identity.create(args.params);
iden.importEncryptedWallet(123, 'password', opts, function(err) { iden.importEncryptedWallet(123, 'password', opts, function(err) {
should.not.exist(err); should.not.exist(err);
fakeCrypto.kdf.getCall(0).args[0].should.equal('password'); fakeCrypto.kdf.getCall(0).args[0].should.equal('password');
@ -267,7 +267,6 @@ describe('Identity model', function() {
}); });
}); });
}); });
});

File diff suppressed because one or more lines are too long