Moved Escrows into an escrow subdirectory, improved docs. (#1430)

* Moved Escrows into an escrow subdirectory, improved docs.

* Fixed escrow mock.

* Fixed some more imports.
This commit is contained in:
Nicolás Venturo
2018-10-17 17:22:25 -03:00
committed by GitHub
parent cfef58361f
commit f3df2dab3d
10 changed files with 35 additions and 24 deletions

View File

@ -0,0 +1,11 @@
const { shouldBehaveLikeEscrow } = require('./Escrow.behavior');
const Escrow = artifacts.require('Escrow');
contract('Escrow', function ([_, primary, ...otherAccounts]) {
beforeEach(async function () {
this.escrow = await Escrow.new({ from: primary });
});
shouldBehaveLikeEscrow(primary, otherAccounts);
});