From aa7f0d7c605212eb8415e1de10721df43ae179c0 Mon Sep 17 00:00:00 2001 From: Braydon Fuller Date: Thu, 26 May 2016 10:23:42 -0400 Subject: [PATCH] test: remove duplicated test --- test/services/bitcoind.unit.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/test/services/bitcoind.unit.js b/test/services/bitcoind.unit.js index 29a29a23..8719f7f5 100644 --- a/test/services/bitcoind.unit.js +++ b/test/services/bitcoind.unit.js @@ -3865,23 +3865,6 @@ describe('Bitcoin Service', function() { done(); }); }); - it('will not get block hash with an address', function(done) { - var bitcoind = new BitcoinService(baseConfig); - var getBlockHash = sinon.stub(); - bitcoind.nodes.push({ - client: { - getBlockHash: getBlockHash - } - }); - bitcoind._maybeGetBlockHash('2N2JD6wb56AfK4tfmM6PwdVmoYk2dCKf4Br', function(err, hash) { - if (err) { - return done(err); - } - getBlockHash.callCount.should.equal(0); - hash.should.equal('2N2JD6wb56AfK4tfmM6PwdVmoYk2dCKf4Br'); - done(); - }); - }); it('will get the block hash if argument is a number', function(done) { var bitcoind = new BitcoinService(baseConfig); var getBlockHash = sinon.stub().callsArgWith(1, null, {