Commit 6344a76f by Francisco Giordano Committed by Martín Triay

add pending tests

parent 3da7c314
......@@ -48,6 +48,8 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
balance.should.bignumber.equal(amount.mul(releaseTime - this.start).div(this.end - this.start).floor());
});
it('should linearly release tokens during vesting period');
it('should have released all after end', async function () {
await increaseTimeTo(this.end);
await this.vesting.release(this.token.address);
......@@ -55,4 +57,8 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
balance.should.bignumber.equal(amount);
});
it('should fail to be revoked by owner if revocable not set');
it('should be emptied when revoked by owner');
});
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