From 8b78279472a9ffa26b2e282c72544590144aef05 Mon Sep 17 00:00:00 2001 From: freewil Date: Sun, 9 Sep 2012 23:24:22 -0400 Subject: [PATCH] remove getBlockNumber() test --- test/api.js | 22 ---------------------- 1 file changed, 22 deletions(-) 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);