Files
openzeppelin-contracts/test/Bounty.js
2016-10-26 07:20:41 +01:00

15 lines
323 B
JavaScript

contract('Bounty', function(accounts) {
it.only("create target", function(done){
var bounty = Bounty.deployed();
bounty.createTarget().
then(function() {
return bounty.checkInvarient.call()
}).
then(function(result) {
assert.isTrue(result);
}).
then(done);
})
});