Files
2018-06-18 13:02:35 -04:00

25 lines
585 B
JavaScript

//let SimpleStorage = require('Embark/contracts/SimpleStorage');
//
//config({
// contracts: {
// SimpleStorage: {
// args: [100]
// }
// }
//});
//
//describe("SimpleStorage", function() {
//
// it("should set constructor value", async function() {
// let result = await SimpleStorage.methods.storedData().call();
// assert.equal(result, 100);
// });
//
// it("set storage value", async function() {
// await SimpleStorage.methods.set(150).send();
// let result = await SimpleStorage.methods.get().call();
// assert.equal(result, 150);
// });
//
//});