Merge tag 'v2.2.0' of github.com:OpenZeppelin/openzeppelin-solidity
v2.2.0
This commit is contained in:
@ -16,7 +16,7 @@ function shouldBehaveLikeOwnable (owner, [anyone]) {
|
||||
(await this.ownable.isOwner({ from: anyone })).should.be.equal(true);
|
||||
});
|
||||
|
||||
it('should prevent non-owners from transfering', async function () {
|
||||
it('should prevent non-owners from transferring', async function () {
|
||||
await shouldFail.reverting(this.ownable.transferOwnership(anyone, { from: anyone }));
|
||||
});
|
||||
|
||||
|
||||
@ -29,7 +29,7 @@ contract('Secondary', function ([_, primary, newPrimary, anyone]) {
|
||||
(await this.secondary.primary()).should.equal(newPrimary);
|
||||
});
|
||||
|
||||
it('reverts when transfering to the null address', async function () {
|
||||
it('reverts when transferring to the null address', async function () {
|
||||
await shouldFail.reverting(this.secondary.transferPrimary(ZERO_ADDRESS, { from: primary }));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user