inLogs no longer returns a promise. (#1169)

This commit is contained in:
Nicolás Venturo
2018-08-08 14:57:00 -03:00
committed by Matt Condon
parent 4066b5e683
commit 31fc572abe
5 changed files with 12 additions and 12 deletions

View File

@ -43,7 +43,7 @@ contract('RefundEscrow', function ([_, owner, beneficiary, refundee1, refundee2]
const receipt = await this.escrow.close({ from: owner });
await expectEvent.inLogs(receipt.logs, 'Closed');
expectEvent.inLogs(receipt.logs, 'Closed');
});
context('closed state', function () {
@ -75,7 +75,7 @@ contract('RefundEscrow', function ([_, owner, beneficiary, refundee1, refundee2]
const receipt = await this.escrow.enableRefunds({ from: owner });
await expectEvent.inLogs(receipt.logs, 'RefundsEnabled');
expectEvent.inLogs(receipt.logs, 'RefundsEnabled');
});
context('refund state', function () {