fix names, tests passing

pull/26/head
Michael J. Curry 8 years ago
parent 5c07cd148d
commit a9d030acb4
No known key found for this signature in database
GPG Key ID: 58EEF5BB97F3E791
  1. 6
      test/PullPayment.js

@ -1,8 +1,8 @@
contract('PullPaymentCapable', function(accounts) {
contract('PullPaymentExample', function(accounts) {
it("can't call asyncSend externally", function(done) {
var ppc;
return PullPaymentCapableExample.new()
return PullPaymentExample.new()
.then(function(ppc) {
assert.isUndefined(ppc.asyncSend);
})
@ -12,7 +12,7 @@ contract('PullPaymentCapable', function(accounts) {
it("can record an async payment correctly", function(done) {
var ppce;
var AMOUNT = 100;
return PullPaymentCapableExample.new()
return PullPaymentExample.new()
.then(function(_ppce) {
ppce = _ppce;
ppce.callSend(accounts[0], AMOUNT)

Loading…
Cancel
Save