Wallet model and testing

This commit is contained in:
Gustavo Cortez 2014-04-10 17:57:41 -03:00 committed by Manuel Araoz
parent af883c30ec
commit 423fe5284b
1 changed files with 4 additions and 4 deletions

View File

@ -54,25 +54,25 @@ describe('Wallet model', function() {
var w = new Wallet();
should.exist(w);
});
/*it('should return array of unspent output', function(done) {
it('should return array of unspent output', function(done) {
var w = new Wallet();
w.listUnspent(addresses, function(a) {
should.exist(a);
done();
});
});*/
});
it('should return balance', function () {
var w = new Wallet();
var b = w.getBalance(unspent);
should.exist(b);
b.should.equal(91);
});
/*it('should return txid', function (done) {
it('should return txid', function (done) {
var w = new Wallet();
w.sendRawTransaction(rawtx, function(a) {
should.exist(a);
done();
});
});*/
});
});