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

pull/78/head
AugustoL 8 years ago
parent 80cc1808fc
commit f292643543
  1. 4
      test/DelayedClaimble.js

@ -8,7 +8,7 @@ contract('DelayedClaimable', function(accounts) {
}); });
it("changes pendingOwner after transfer succesful", function(done) { it("changes pendingOwner after transfer succesful", function(done) {
return delayedClaimable.transfer(accounts[2]) return delayedClaimable.transferOwnership(accounts[2])
.then(function(){ .then(function(){
return delayedClaimable.setClaimBefore(1000) return delayedClaimable.setClaimBefore(1000)
}) })
@ -33,7 +33,7 @@ contract('DelayedClaimable', function(accounts) {
}); });
it("changes pendingOwner after transfer fails", function(done) { it("changes pendingOwner after transfer fails", function(done) {
return delayedClaimable.transfer(accounts[1]) return delayedClaimable.transferOwnership(accounts[1])
.then(function(){ .then(function(){
return delayedClaimable.setClaimBefore(1) return delayedClaimable.setClaimBefore(1)
}) })

Loading…
Cancel
Save