From e8ebb0fb37efad876eabb8fa174348ece05eb648 Mon Sep 17 00:00:00 2001 From: Iuri Matias Date: Fri, 15 Dec 2017 17:38:02 -0500 Subject: [PATCH] update tests --- test/compiler.js | 2 +- test/contracts.js | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/test/compiler.js b/test/compiler.js index e415ac20..8ad45e23 100644 --- a/test/compiler.js +++ b/test/compiler.js @@ -10,7 +10,7 @@ let readFile = function(file) { }; describe('embark.Compiler', function() { - let compiler = new Compiler({logger: new TestLogger({}), solcVersion: '0.4.17'}); + let compiler = new Compiler({logger: new TestLogger({}), solcVersion: '0.4.17', contractDirectories: ['app/contracts/']}); describe('#compile_solidity', function() { this.timeout(0); diff --git a/test/contracts.js b/test/contracts.js index e4db436f..eeb33d9f 100644 --- a/test/contracts.js +++ b/test/contracts.js @@ -17,6 +17,7 @@ describe('embark.Contratcs', function() { readFile('test/contracts/simple_storage.sol'), readFile('test/contracts/token.sol') ], + contractDirectories: ['app/contracts'], contractsConfig: { "versions": { "web3.js": "1.0.0-beta", @@ -89,6 +90,7 @@ describe('embark.Contratcs', function() { readFile('test/contracts/simple_storage.sol'), readFile('test/contracts/token_storage.sol') ], + contractDirectories: ['app/contracts'], contractsConfig: { "versions": { "web3.js": "1.0.0-beta",