remove getBlockNumber() test

This commit is contained in:
freewil 2012-09-09 23:24:22 -04:00
parent cb6c39dcf5
commit 8b78279472

View File

@ -117,28 +117,6 @@ vows.describe('api').addBatch({
assert.isObject(work);
}
},
'getblocknumber is deprecated': {
topic: function(client) {
client.cmd('getblocknumber', this.callback);
},
'and has been replaced by getblockcount': {
topic: function(number, client) {
client.cmd('getblockcount', this.callback);
},
'getBlockNumber uses getblockcount': {
topic: function(count, number, client) {
var self = this;
client.getBlockNumber(function(err, number2) {
self.callback(err, number2, count, number);
});
},
'and should match both': function(err, number2, count, number) {
assert.equal(number2, count);
assert.equal(number2, number);
}
}
}
},
'creating a bitcoin related error': {
topic: function(client) {
client.cmd('nomethod', this.callback);