From f206b6eb2b1c277a1061b8408554655822ba57c2 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Thu, 30 Mar 2017 06:59:51 -0400 Subject: [PATCH] update readme for tests so it reflects the stable version --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 361aa454..b68aeb50 100644 --- a/README.md +++ b/README.md @@ -438,7 +438,9 @@ Embark includes a testing lib to fastly run & test your contracts in a EVM. # test/simple_storage_spec.js 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() { before(function(done) {