@0x:contracts-utils Updated the OwnershipTransferred event to be closer to OpenZeppelin's event

This commit is contained in:
Alex Towle
2019-10-10 10:58:58 -07:00
parent 7815da7257
commit 65f2626544
3 changed files with 4 additions and 3 deletions

View File

@@ -48,7 +48,7 @@ blockchainTests.resets('Ownable', env => {
receipt.logs,
IOwnableEvents.OwnershipTransferred,
);
expect(event).to.be.deep.eq({ newOwner: nonOwner });
expect(event).to.be.deep.eq({ previousOwner: owner, newOwner: nonOwner });
// Ensure that the owner was actually updated
const updatedOwner = await ownable.owner.callAsync();