* added function to renounce ownership * Provide an Ownable behavior for testing (#905) * Fix indentation * Convert to use should assertions
12 lines
270 B
JavaScript
12 lines
270 B
JavaScript
import shouldBehaveLikeOwnable from './Ownable.behaviour';
|
|
|
|
const Ownable = artifacts.require('Ownable');
|
|
|
|
contract('Ownable', function (accounts) {
|
|
beforeEach(async function () {
|
|
this.ownable = await Ownable.new();
|
|
});
|
|
|
|
shouldBehaveLikeOwnable(accounts);
|
|
});
|