fix: reference contract name rather than filepath (#698)

This commit is contained in:
Matt Condon
2018-01-25 06:52:51 -08:00
committed by Francisco Giordano
parent a5d5867092
commit f4228f1b49
39 changed files with 49 additions and 51 deletions

View File

@ -1,14 +1,14 @@
import expectThrow from './helpers/expectThrow';
const SimpleSavingsWallet = artifacts.require('../contracts/examples/SimpleSavingsWallet.sol');
const SimpleSavingsWallet = artifacts.require('SimpleSavingsWallet');
contract('SimpleSavingsWallet', function (accounts) {
let savingsWallet;
let owner;
const paymentAmount = 4242;
beforeEach(async function () {
savingsWallet = await SimpleSavingsWallet.new(4141);
owner = await savingsWallet.owner();