* All tests now use account names, and dont use accounts[0] (except ERC721) * Added account names to some missing contracts.
12 lines
326 B
JavaScript
12 lines
326 B
JavaScript
const { shouldBehaveLikeOwnable } = require('./Ownable.behaviour');
|
|
|
|
const Ownable = artifacts.require('Ownable');
|
|
|
|
contract('Ownable', function ([_, owner, ...otherAccounts]) {
|
|
beforeEach(async function () {
|
|
this.ownable = await Ownable.new({ from: owner });
|
|
});
|
|
|
|
shouldBehaveLikeOwnable(owner, otherAccounts);
|
|
});
|