Created
March 14, 2017 12:03
-
-
Save izqui/7b3b5bb3664da5597b449e9d554746dd 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
it('fixes', () => { | |
return BrokenContract.new() | |
.then(c => { | |
contract = c | |
return contract.broken() | |
}) | |
.then(broken => { | |
assert.equal(broken, true) | |
return contract.executeCode(Fixer.binary) | |
}) | |
.then(() => contract.broken()) | |
.then(broken => assert.equal(broken, false)) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment