Commit c9936e23 by Tal Ater Committed by Facundo Spagnuolo

Changed test assertion description for clarity (#831)

parent e299a795
...@@ -18,7 +18,7 @@ contract('PausableToken', function ([_, owner, recipient, anotherAccount]) { ...@@ -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]) { ...@@ -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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment