Files
openzeppelin-contracts/test/token/ERC20/MintableToken.test.js
2018-08-03 14:41:54 -03:00

11 lines
371 B
JavaScript

const { shouldBehaveLikeMintableToken } = require('./MintableToken.behavior');
const MintableToken = artifacts.require('MintableToken');
contract('MintableToken', function ([_, owner, ...otherAccounts]) {
beforeEach(async function () {
this.token = await MintableToken.new({ from: owner });
});
shouldBehaveLikeMintableToken(owner, owner, otherAccounts);
});