diff --git a/test_app/test/array_references_spec.js b/test_app/test/array_references_spec.js index 271c0aba..1492009b 100644 --- a/test_app/test/array_references_spec.js +++ b/test_app/test/array_references_spec.js @@ -6,26 +6,14 @@ contract("SomeContract", function() { "SimpleStorage": { args: [100] }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, "Token": { deploy: false, args: [1000] }, - "MyToken": { - instanceOf: "Token" - }, "MyToken2": { instanceOf: "Token", args: [2000] }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, "SomeContract": { "args": [ ["$MyToken2", "$SimpleStorage"], diff --git a/test_app/test/lib_test_spec.js b/test_app/test/lib_test_spec.js index ceab0cfc..e039dc62 100644 --- a/test_app/test/lib_test_spec.js +++ b/test_app/test/lib_test_spec.js @@ -4,46 +4,13 @@ contract("Test", function() { var contractsConfig = { "Test2": { }, - "Test": { - "gas": 2000000 - }, "ZAMyLib": { }, "ZAMyLib2": { "deploy": true - }, - "SimpleStorage": { - args: [100] - }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, - "Token": { - deploy: false, - args: [1000] - }, - "MyToken": { - instanceOf: "Token" - }, - "MyToken2": { - instanceOf: "Token", - args: [2000] - }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, - "SomeContract": { - "args": [ - ["$MyToken2", "$SimpleStorage"], - 100 - ] } }; - EmbarkSpec.deployAll(contractsConfig, () => { done() }); }); diff --git a/test_app/test/simple_storage_spec.js b/test_app/test/simple_storage_spec.js index bc9ae5d4..6d16e7b8 100644 --- a/test_app/test/simple_storage_spec.js +++ b/test_app/test/simple_storage_spec.js @@ -12,32 +12,6 @@ contract("SimpleStorage", function() { var contractsConfig = { "SimpleStorage": { args: [100] - }, - "AnotherStorage": { - args: ["$SimpleStorage"] - }, - "Token": { - deploy: false, - args: [1000] - }, - "MyToken": { - instanceOf: "Token" - }, - "MyToken2": { - instanceOf: "Token", - args: [2000] - }, - "ContractArgs": { - "args": { - "initialValue": 123, - "_addresses": ["$MyToken2", "$SimpleStorage"] - } - }, - "SomeContract": { - "args": [ - ["$MyToken2", "$SimpleStorage"], - 100 - ] } }; EmbarkSpec.deployAll(contractsConfig, () => { done() });