example on how to deploy a single contract with custom arguments

This commit is contained in:
Iuri Matias 2016-08-10 07:59:23 -04:00
parent 0faa649c2f
commit 0c29b171fd

View File

@ -8,6 +8,8 @@ describe("SimpleStorage", function() {
EmbarkSpec.sim.createAccounts(10, function() {
EmbarkSpec.sim.setBalance(web3.eth.accounts[0], 1000000000000000000000, function() {
EmbarkSpec.deployAll(done);
// or
// EmbarkSpec.deployContract('SimpleStorage', [100], done);
});
});
});
@ -28,4 +30,4 @@ describe("SimpleStorage", function() {
});
});
})
});