update readme for tests so it reflects the stable version

This commit is contained in:
Iuri Matias 2017-03-30 06:59:51 -04:00
parent 7bdc934e40
commit f206b6eb2b
1 changed files with 3 additions and 1 deletions

View File

@ -438,7 +438,9 @@ 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 EmbarkSpec = require('embark/lib/core/test.js'); var Embark = require('embark');
var EmbarkSpec = Embark.initTests();
var web3 = EmbarkSpec.web3;
describe("SimpleStorage", function() { describe("SimpleStorage", function() {
before(function(done) { before(function(done) {