Browse Source

[TokenVesting] Fix test.

Martín Triay 8 years ago
parent
commit
d21d35ca6f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      test/TokenVesting.js

+ 1 - 1
test/TokenVesting.js

@@ -71,7 +71,7 @@ contract('TokenVesting', function ([_, owner, beneficiary]) {
   });
 
   it('should be revoked by owner if revocable is set', async function () {
-    await vesting.revoke(this.token.address, { from: owner }).should.be.fulfilled;
+    await this.vesting.revoke(this.token.address, { from: owner }).should.be.fulfilled;
   });
 
   it('should fail to be revoked by owner if revocable not set', async function () {