Skip to content

Commit

Permalink
Upgrade to new saddle internal interface
Browse files Browse the repository at this point in the history
  • Loading branch information
hayesgm committed Jan 31, 2020
1 parent 4c8bae0 commit cb2d092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/IntegrationTest.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ describe('Integration', () => {

const web3 = new Web3(new DockerProvider('http://ganache:8545', reporter));
const accounts = await web3.eth.getAccounts();
const delfi = await contract.getContractAt(web3, 'DelFiPrice', '.dockerbuild_cp', false, '0x5b1869D9A4C187F2EAa108f3062412ecf0526b24');
const delfi = await contract.getContractAt(web3, 'DelFiPrice', {build_dir: '.dockerbuild_cp', trace: false}, '0x5b1869D9A4C187F2EAa108f3062412ecf0526b24');

expect(await delfi.methods.prices('BTC').call({from: accounts[0]})).numEquals(0);
expect(await delfi.methods.prices('ETH').call({from: accounts[0]})).numEquals('260000000');
Expand Down

0 comments on commit cb2d092

Please sign in to comment.