parent
e5960465a7
commit
82c85121bb
@ -0,0 +1,16 @@ |
|||||||
|
'use strict' |
||||||
|
|
||||||
|
const SimpleSavingsWallet = artifacts.require('../contracts/examples/SimpleSavingsWallet.sol') |
||||||
|
|
||||||
|
contract('SimpleSavingsWallet', function(accounts) { |
||||||
|
let savingsWallet |
||||||
|
let owner |
||||||
|
|
||||||
|
beforeEach(async function() { |
||||||
|
savingsWallet = await SimpleSavingsWallet.new(4141) |
||||||
|
owner = await inheritable.owner() |
||||||
|
}) |
||||||
|
|
||||||
|
it('should receive funds', async function() { |
||||||
|
await web3.eth.sendTransaction({from: owner, to: this.contract.address, value: amount}) |
||||||
|
}) |
Loading…
Reference in new issue