Add complex crowdsale example #331 requested changes

This commit is contained in:
Jakub Wojciechowski
2017-07-29 09:00:54 +01:00
parent 04e0b2e5c2
commit a9e1fcd623
4 changed files with 49 additions and 46 deletions

View File

@ -34,7 +34,7 @@ contract('Crowdsale', function ([owner, wallet, investor]) {
(await this.crowdsale.startBlock()).should.be.bignumber.equal(this.startBlock);
(await this.crowdsale.endBlock()).should.be.bignumber.equal(this.endBlock);
(await this.crowdsale.rate()).should.be.bignumber.equal(RATE);
(await this.crowdsale.wallet()).should.be.bignumber.equal(wallet);
(await this.crowdsale.wallet()).should.be.equal(wallet);
(await this.crowdsale.goal()).should.be.bignumber.equal(GOAL);
(await this.crowdsale.cap()).should.be.bignumber.equal(CAP);
});