Last active
April 15, 2018 01:44
-
-
Save saurfang/f6a354ae87e536389de76ab4e8f0c643 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const GuessTheNewNumberChallenge = artifacts.require('GuessTheNewNumberChallenge'); | |
contract('GuessTheNewNumberChallenge', ([account]) => { | |
it('should be completed', async () => { | |
let challenge = await GuessTheNewNumberChallenge.new({value: web3.toWei(1, 'ether')}); | |
assert( | |
await challenge.isComplete() === true, | |
'Challenge has not been completed!' | |
); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment