Merge pull request #252 from toadkicker/update_boilerplate_test
update boilerplate test after PR#246
This commit is contained in:
commit
eff35928af
|
@ -438,12 +438,11 @@ Embark includes a testing lib to fastly run & test your contracts in a EVM.
|
||||||
# test/simple_storage_spec.js
|
# test/simple_storage_spec.js
|
||||||
|
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var Embark = require('embark');
|
var EmbarkSpec = require('embark/lib/core/test.js');
|
||||||
var EmbarkSpec = Embark.initTests();
|
|
||||||
var web3 = EmbarkSpec.web3;
|
|
||||||
|
|
||||||
describe("SimpleStorage", function() {
|
describe("SimpleStorage", function() {
|
||||||
before(function(done) {
|
before(function(done) {
|
||||||
|
this.timeout(0);
|
||||||
var contractsConfig = {
|
var contractsConfig = {
|
||||||
"SimpleStorage": {
|
"SimpleStorage": {
|
||||||
args: [100]
|
args: [100]
|
||||||
|
@ -469,6 +468,7 @@ describe("SimpleStorage", function() {
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Embark uses [Mocha](http://mochajs.org/) by default, but you can use any testing framework you want.
|
Embark uses [Mocha](http://mochajs.org/) by default, but you can use any testing framework you want.
|
||||||
|
|
|
@ -1,9 +1,8 @@
|
||||||
var assert = require('assert');
|
var assert = require('assert');
|
||||||
var Embark = require('embark');
|
var EmbarkSpec = require('embark/lib/core/test.js');
|
||||||
var EmbarkSpec = Embark.initTests();
|
|
||||||
var web3 = EmbarkSpec.web3;
|
|
||||||
|
|
||||||
//describe("SimpleStorage", function() {
|
|
||||||
|
// describe("SimpleStorage", function() {
|
||||||
// before(function(done) {
|
// before(function(done) {
|
||||||
// this.timeout(0);
|
// this.timeout(0);
|
||||||
// var contractsConfig = {
|
// var contractsConfig = {
|
||||||
|
@ -30,4 +29,4 @@ var web3 = EmbarkSpec.web3;
|
||||||
// });
|
// });
|
||||||
// });
|
// });
|
||||||
//
|
//
|
||||||
//});
|
// });
|
Loading…
Reference in New Issue