Created
April 21, 2018 10:33
-
-
Save thomasvds/d227bc51cbc0cb0c536e5c625b685666 to your computer and use it in GitHub Desktop.
This file contains 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 CryptoRun = artifacts.require('./CryptoRun.sol') | |
contract('CryptoRun', function ([owner, beCode, donor1, donor2, hacker]) { | |
let cryptoRun | |
let cryptoRunAddress | |
beforeEach('setup contract and Oracle for each test', async function () { | |
cryptoRun = await CryptoRun.new(beCode) | |
cryptoRunAddress = await cryptoRun.address | |
await forceOracleStatus('ongoing') | |
}) | |
it('has an owner equal to its deployer', async function () { | |
assert.equal(await cryptoRun.ownerAddress(), owner) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment