Update contracts/utils/test/ownable.ts

Co-Authored-By: Lawrence Forman <lawrence@0xproject.com>
This commit is contained in:
James Towle
2019-07-30 09:51:23 -07:00
committed by Alex Towle
parent bf1ebe8e53
commit 4d39892a11

View File

@@ -49,7 +49,7 @@ describe('Ownable', () => {
});
it('should transfer ownership if the specified new owner is not the zero address', async () => {
expect(ownable.transferOwnership.sendTransactionAsync(nonOwner, { from: owner })).to.be.fulfilled;
await expect(ownable.transferOwnership.sendTransactionAsync(nonOwner, { from: owner })).to.be.fulfilled('');
const updatedOwner = await ownable.owner.callAsync();
expect(updatedOwner).to.be.eq(nonOwner);
});