diff --git a/boilerplate/test/contract_spec.js b/boilerplate/test/contract_spec.js index 0e39bdf0..e732155d 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 55dfe63f..b2d3cb17 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; diff --git a/test_app/test/token_spec.js b/test_app/test/token_spec.js index 6dfdff78..a043f84a 100644 --- a/test_app/test/token_spec.js +++ b/test_app/test/token_spec.js @@ -1,6 +1,8 @@ var assert = require('assert'); var Embark = require('embark'); var EmbarkSpec = require('../node_modules/embark/lib/core/test.js'); +var Embark = require('embark'); +var EmbarkSpec = Embark.initTests(); var web3 = EmbarkSpec.web3; describe("Token", function() {