Skip to content
Prev Previous commit
forgot to add .address 2nd time
  • Loading branch information
lead4good committed Feb 1, 2018
commit b1335b6e1d0192e2ec6a5b09039082aeda331940
2 changes: 1 addition & 1 deletion test/crowdsale/CappedCrowdsale.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ contract('CappedCrowdsale', function ([_, wallet]) {
describe('creating a valid crowdsale', function () {
it('should fail with zero cap', async function () {
await CappedCrowdsale
.new(this.startTime, this.endTime, rate, wallet, 0, this.token)
.new(this.startTime, this.endTime, rate, wallet, 0, this.token.address)
.should.be.rejectedWith(EVMRevert);
});
});
Expand Down