add getBalance() test without any args

close GH-11
This commit is contained in:
freewil 2014-03-09 00:22:58 -08:00
parent 6b237fe61e
commit b490f03e1c

View File

@ -69,6 +69,17 @@ describe('Client', function() {
});
});
describe('getBalance()', function() {
it('should return balance without any args', function(done) {
var client = makeClient();
client.getBalance(function(err, balance) {
assert.ifError(err);
assert.ok(typeof balance === 'number');
done();
});
});
});
describe('getDifficulty()', function() {
it('should get difficulty', function(done) {
var client = makeClient();