diff --git a/test/api.js b/test/api.js index 4ff9d1d..f458305 100644 --- a/test/api.js +++ b/test/api.js @@ -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);