make my code work with the latest interface changes

...to Wallet and WalletFactory
This commit is contained in:
Ryan X. Charles 2014-04-16 21:02:53 -03:00
commit 96a6203bb0
7 changed files with 37 additions and 42 deletions

View file

@ -110,11 +110,11 @@ describe('API', function() {
});
});
describe('#getPublicKeyRingId', function() {
it('should get a public key ring ID', function(done) {
describe('#getWalletIds', function() {
it('should get the wallet ids', function(done) {
var api = new API({Storage: Storage});
api.getPublicKeyRingId(function(err, result) {
result.length.should.be.greaterThan(5);
api.getWalletIds(function(err, result) {
result.length.should.be.greaterThan(-1);
done();
});
});