From 0b023e387715e32698d4fe2cc97ad5aefb9b7c6d Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Sat, 11 Mar 2017 21:55:34 -0500 Subject: [PATCH] make demo and boilerplate tests compatible --- boilerplate/test/contract_spec.js | 2 +- demo/test/simple_storage_spec.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/boilerplate/test/contract_spec.js b/boilerplate/test/contract_spec.js index e732155d..0e39bdf0 100644 --- a/boilerplate/test/contract_spec.js +++ b/boilerplate/test/contract_spec.js @@ -1,5 +1,5 @@ var assert = require('assert'); -var Embark = require('embark'); +var Embark = require('embark')(); var EmbarkSpec = Embark.initTests(); var web3 = EmbarkSpec.web3; diff --git a/demo/test/simple_storage_spec.js b/demo/test/simple_storage_spec.js index b2d3cb17..55dfe63f 100644 --- a/demo/test/simple_storage_spec.js +++ b/demo/test/simple_storage_spec.js @@ -1,5 +1,5 @@ var assert = require('assert'); -var Embark = require('embark'); +var Embark = require('embark')(); var EmbarkSpec = Embark.initTests(); var web3 = EmbarkSpec.web3;