Created
November 16, 2018 08:26
-
-
Save m-yahya/b68d41a7409106c9d39c05a4595ea47d 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 SimpleContract = artifacts.require("SimpleContract"); | |
contract('SimpleContract', (accounts) => { | |
it("should return the name", async ()=> { | |
const instance = await SimpleContract.deployed(); | |
const value = await instance.getName(); | |
assert.equal(value, 'my name'); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment