fix names, tests passing
This commit is contained in:
@ -1,8 +1,8 @@
|
|||||||
contract('PullPaymentCapable', function(accounts) {
|
contract('PullPaymentExample', function(accounts) {
|
||||||
|
|
||||||
it("can't call asyncSend externally", function(done) {
|
it("can't call asyncSend externally", function(done) {
|
||||||
var ppc;
|
var ppc;
|
||||||
return PullPaymentCapableExample.new()
|
return PullPaymentExample.new()
|
||||||
.then(function(ppc) {
|
.then(function(ppc) {
|
||||||
assert.isUndefined(ppc.asyncSend);
|
assert.isUndefined(ppc.asyncSend);
|
||||||
})
|
})
|
||||||
@ -12,7 +12,7 @@ contract('PullPaymentCapable', function(accounts) {
|
|||||||
it("can record an async payment correctly", function(done) {
|
it("can record an async payment correctly", function(done) {
|
||||||
var ppce;
|
var ppce;
|
||||||
var AMOUNT = 100;
|
var AMOUNT = 100;
|
||||||
return PullPaymentCapableExample.new()
|
return PullPaymentExample.new()
|
||||||
.then(function(_ppce) {
|
.then(function(_ppce) {
|
||||||
ppce = _ppce;
|
ppce = _ppce;
|
||||||
ppce.callSend(accounts[0], AMOUNT)
|
ppce.callSend(accounts[0], AMOUNT)
|
||||||
|
|||||||
Reference in New Issue
Block a user