Files
openzeppelin-contracts/test/ownership/Ownable.test.js
Paweł Winnicki 20b85be6aa Ownable behavior (#929)
* added function to renounce ownership

* Provide an Ownable behavior for testing (#905)

* Fix indentation

* Convert to use should assertions
2018-05-08 17:33:37 -07:00

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);
});