Guest User

Untitled

a guest
Mar 20th, 2018
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. describe('Given that I want to allow the transfer of tokens by a third party', () => {
  2. it('it should return the amount I allow them to transfer', async () => {
  3. const amount = toWei(99);
  4. await this.hello_erc20.approve(holder, amount, { from: owner });
  5. const remaining = await this.hello_erc20.allowance(owner, holder);
  6. remaining.should.be.bignumber.equal(amount);
  7. });
  8. });
Add Comment
Please, Sign In to add comment