Skip to content

Instantly share code, notes, and snippets.

@amazingandyyy
Last active November 19, 2017 08:16
Show Gist options
  • Save amazingandyyy/1262ee12ff6fde700ecd6493632cbe69 to your computer and use it in GitHub Desktop.
Save amazingandyyy/1262ee12ff6fde700ecd6493632cbe69 to your computer and use it in GitHub Desktop.
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