From c9936e231d3fbe72cb5ac2959738a3c5f54d9e8e Mon Sep 17 00:00:00 2001 From: Tal Ater Date: Thu, 22 Mar 2018 21:36:28 +0200 Subject: [PATCH] Changed test assertion description for clarity (#831) --- test/token/PausableToken.test.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/token/PausableToken.test.js b/test/token/PausableToken.test.js index c866ef253..c7d2c6bec 100644 --- a/test/token/PausableToken.test.js +++ b/test/token/PausableToken.test.js @@ -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);