Refactory get balance 's methods

This commit is contained in:
Gustavo Cortez 2014-04-17 16:42:27 -03:00
commit f55d243bed
5 changed files with 24 additions and 26 deletions

View file

@ -61,12 +61,6 @@ describe('Insight model', function() {
done();
});
});
it('should return balance', function () {
var w = new Insight();
var b = w.getBalance(unspent);
should.exist(b);
b.should.equal(91);
});
it.skip('should return txid', function (done) {
var w = new Insight();
w.sendRawTransaction(rawtx, function(a) {