Files
openzeppelin-contracts/test/ownership/Ownable.test.js
Nicolás Venturo cea2a85a42 Remove Babel (#1074)
* Test helpers no longer rely on Babel.

* Behaviours are no longer imported.

* Removed Babel dependency.

* Fixed linter errors.
2018-07-18 19:37:16 -03:00

12 lines
279 B
JavaScript

const { shouldBehaveLikeOwnable } = require('./Ownable.behaviour');
const Ownable = artifacts.require('Ownable');
contract('Ownable', function (accounts) {
beforeEach(async function () {
this.ownable = await Ownable.new();
});
shouldBehaveLikeOwnable(accounts);
});