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.
11 lines
353 B
11 lines
353 B
const Owned = artifacts.require('Owned');
|
|
const Proxy = artifacts.require('Proxy');
|
|
|
|
contract('Proxy', accounts => {
|
|
it('when one contract inherits from another', async function(){
|
|
const owned = await Owned.new();
|
|
const proxy = await Proxy.new();
|
|
const val = await proxy.isOwner({from: accounts[0]});
|
|
assert.equal(val, true);
|
|
})
|
|
});
|
|
|