Rename events to past-tense (#1181)
This commit is contained in:
@ -29,7 +29,7 @@ function shouldBehaveLikeBurnableToken (owner, initialBalance, [burner]) {
|
||||
});
|
||||
|
||||
it('emits a burn event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'Burn');
|
||||
const event = expectEvent.inLogs(this.logs, 'TokensBurned');
|
||||
event.args.burner.should.equal(owner);
|
||||
event.args.value.should.be.bignumber.equal(amount);
|
||||
});
|
||||
@ -80,7 +80,7 @@ function shouldBehaveLikeBurnableToken (owner, initialBalance, [burner]) {
|
||||
});
|
||||
|
||||
it('emits a burn event', async function () {
|
||||
const event = expectEvent.inLogs(this.logs, 'Burn');
|
||||
const event = expectEvent.inLogs(this.logs, 'TokensBurned');
|
||||
event.args.burner.should.equal(owner);
|
||||
event.args.value.should.be.bignumber.equal(amount);
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user