This commit is contained in:
Chris Whinfrey
2017-11-10 20:20:44 -05:00
parent 575372f660
commit 61b5921ab2

View File

@ -21,7 +21,7 @@ contract('Capped', function(accounts) {
assert.equal(cap.toNumber(), _cap.toNumber()); assert.equal(cap.toNumber(), _cap.toNumber());
}) })
it('should mint when amount does amount does not exceed the cap', async function() { it('should mint when amount is less than cap', async function() {
const result = await token.mint(accounts[0], 100); const result = await token.mint(accounts[0], 100);
assert.equal(result.logs[0].event, 'Mint'); assert.equal(result.logs[0].event, 'Mint');
}) })