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.
15 lines
385 B
15 lines
385 B
5 years ago
|
require('@openzeppelin/test-helpers');
|
||
7 years ago
|
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
|
||
7 years ago
|
|
||
4 years ago
|
const Escrow = artifacts.require('Escrow');
|
||
5 years ago
|
|
||
4 years ago
|
contract('Escrow', function (accounts) {
|
||
5 years ago
|
const [ owner, ...otherAccounts ] = accounts;
|
||
7 years ago
|
|
||
|
beforeEach(async function () {
|
||
5 years ago
|
this.escrow = await Escrow.new({ from: owner });
|
||
7 years ago
|
});
|
||
|
|
||
5 years ago
|
shouldBehaveLikeEscrow(owner, otherAccounts);
|
||
7 years ago
|
});
|