Commit f2926435 by AugustoL

DelayedClaimable tests changed to work with rename of transfer() to transferOwnership()

parent 80cc1808
......@@ -8,7 +8,7 @@ contract('DelayedClaimable', function(accounts) {
});
it("changes pendingOwner after transfer succesful", function(done) {
return delayedClaimable.transfer(accounts[2])
return delayedClaimable.transferOwnership(accounts[2])
.then(function(){
return delayedClaimable.setClaimBefore(1000)
})
......@@ -33,7 +33,7 @@ contract('DelayedClaimable', function(accounts) {
});
it("changes pendingOwner after transfer fails", function(done) {
return delayedClaimable.transfer(accounts[1])
return delayedClaimable.transferOwnership(accounts[1])
.then(function(){
return delayedClaimable.setClaimBefore(1)
})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment