mirror of https://github.com/embarklabs/embark.git
25 lines
574 B
JavaScript
25 lines
574 B
JavaScript
/*global contract, config, it*/
|
|
const assert = require('assert');
|
|
const AnotherStorage = require('Embark/contracts/AnotherStorage');
|
|
|
|
config({
|
|
contracts: {
|
|
deploy: {
|
|
AnotherStorage: {
|
|
args: ['$ERC20']
|
|
}
|
|
}
|
|
}
|
|
});
|
|
|
|
|
|
contract("AnotherStorageWithInterface", function() {
|
|
this.timeout(0);
|
|
|
|
it("sets an empty address because ERC20 is an interface", async function() {
|
|
let result = await AnotherStorage.methods.simpleStorageAddress().call();
|
|
assert.strictEqual(result.toString(), '0x0000000000000000000000000000000000000000');
|
|
});
|
|
});
|
|
|