Ownable.test.js 329 B

1234567891011
  1. const { shouldBehaveLikeOwnable } = require('./Ownable.behavior');
  2. const Ownable = artifacts.require('OwnableMock');
  3. contract('Ownable', function ([_, owner, ...otherAccounts]) {
  4. beforeEach(async function () {
  5. this.ownable = await Ownable.new({ from: owner });
  6. });
  7. shouldBehaveLikeOwnable(owner, otherAccounts);
  8. });