Merge pull request #5 from maraoz/killable-test

Killable test fix
This commit is contained in:
Arseniy Klempner
2016-11-23 19:36:26 -08:00
committed by GitHub

View File

@ -52,7 +52,7 @@ contract('Killable', function(accounts) {
kBalance = web3.eth.getBalance(killable.address);
})
.then(function() {
return killable.kill.call({from: owner});
return killable.kill({from: owner});
})
.then(function (txnHash) {
return web3.eth.getTransactionReceiptMined(txnHash);