test: remove duplicated test

This commit is contained in:
Braydon Fuller 2016-05-26 10:23:42 -04:00
parent e8a35e2bb5
commit aa7f0d7c60
1 changed files with 0 additions and 17 deletions

View File

@ -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, {