Skip to content

Commit

Permalink
Uncaptured property deprecated on Stripe API as of 2.9.12 https://str…
Browse files Browse the repository at this point in the history
…ipe.com/docs/upgrades  Removed from test suite.
  • Loading branch information
deltaepsilon authored and abh committed Jun 24, 2013
1 parent ece0cb8 commit a5d4301
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions test/charges.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ vows.describe("Charges API").addBatch({
assert.equal(response.object, 'charge');
assert.isDefined(response.id);
assert.equal(response.captured, false);
assert.equal(response.uncaptured, true);
},
'Capture a charge fully' : {
topic: function(create_err, charge) {
Expand All @@ -84,7 +83,6 @@ vows.describe("Charges API").addBatch({
assert.isDefined(response.id);
assert.equal(response.amount_refunded, 0);
assert.equal(response.captured, true);
assert.equal(response.uncaptured, false);
}
}
},
Expand All @@ -108,7 +106,6 @@ vows.describe("Charges API").addBatch({
assert.equal(response.object, 'charge');
assert.isDefined(response.id);
assert.equal(response.captured, false);
assert.equal(response.uncaptured, true);
},
'Capture part of a charge' : {
topic: function(create_err, charge) {
Expand All @@ -121,7 +118,6 @@ vows.describe("Charges API").addBatch({
assert.isDefined(response.id);
assert.equal(response.amount_refunded, 50);
assert.equal(response.captured, true);
assert.equal(response.uncaptured, false);
}
}
},
Expand Down

0 comments on commit a5d4301

Please sign in to comment.