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) {