You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
404 B
12 lines
404 B
8 years ago
|
const Owned = artifacts.require('./Owned.sol');
|
||
|
const Proxy = artifacts.require('./Proxy.sol');
|
||
|
|
||
8 years ago
|
contract('Proxy', accounts => {
|
||
8 years ago
|
it('Should compile and run when one contract inherits from another', () => Owned.deployed()
|
||
|
.then(() => Proxy.deployed())
|
||
8 years ago
|
.then(instance => instance.isOwner.call({
|
||
|
from: accounts[0],
|
||
|
}))
|
||
8 years ago
|
.then(val => assert.equal(val, true)));
|
||
|
});
|