Changed test assertion description for clarity (#831)
This commit is contained in:
committed by
Facundo Spagnuolo
parent
e299a7950e
commit
c9936e231d
@ -18,7 +18,7 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
|
|||||||
assert.equal(paused, true);
|
assert.equal(paused, true);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('emits a paused event', async function () {
|
it('emits a Pause event', async function () {
|
||||||
const { logs } = await this.token.pause({ from });
|
const { logs } = await this.token.pause({ from });
|
||||||
|
|
||||||
assert.equal(logs.length, 1);
|
assert.equal(logs.length, 1);
|
||||||
@ -62,7 +62,7 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
|
|||||||
assert.equal(paused, false);
|
assert.equal(paused, false);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('emits an unpaused event', async function () {
|
it('emits an Unpause event', async function () {
|
||||||
const { logs } = await this.token.unpause({ from });
|
const { logs } = await this.token.unpause({ from });
|
||||||
|
|
||||||
assert.equal(logs.length, 1);
|
assert.equal(logs.length, 1);
|
||||||
|
|||||||
Reference in New Issue
Block a user