Last active
November 19, 2017 08:16
-
-
Save amazingandyyy/1262ee12ff6fde700ecd6493632cbe69 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
var HelloEthSalon = artifacts.require("./HelloEthSalon.sol"); | |
contract("HelloEthSalon:GetMessage", function (accounts) { | |
it("should return a correct string", async function () { | |
const contract = await HelloEthSalon.deployed(); | |
const result = await contract.GetMessage.call(); | |
assert.isTrue(result === "Hello Ethereum Salon!"); | |
}); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment