Merge remote-tracking branch 'solidity/release-v2.0.0' into oz-sol-rc3

This commit is contained in:
Nicolás Venturo
2018-10-04 12:00:12 -03:00
19 changed files with 187 additions and 93 deletions

View File

@ -51,10 +51,10 @@ contract('SplitPayment', function ([_, owner, payee1, payee2, payee3, nonpayee1,
});
it('should have payees', async function () {
this.payees.forEach(async (payee, index) => {
(await this.payee(index)).should.be.equal(payee);
await Promise.all(this.payees.map(async (payee, index) => {
(await this.contract.payee(index)).should.be.equal(payee);
(await this.contract.released(payee)).should.be.bignumber.equal(0);
});
}));
});
it('should accept payments', async function () {