Changed test assertion description for clarity (#831)

This commit is contained in:
Tal Ater
2018-03-22 21:36:28 +02:00
committed by Facundo Spagnuolo
parent e299a7950e
commit c9936e231d

View File

@ -18,7 +18,7 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
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 });
assert.equal(logs.length, 1);
@ -62,7 +62,7 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) {
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 });
assert.equal(logs.length, 1);