Skip to content

Commit

Permalink
remove debug logging
Browse files Browse the repository at this point in the history
  • Loading branch information
janl committed Jul 18, 2012
1 parent e4e7020 commit ed01a83
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 18 deletions.
1 change: 0 additions & 1 deletion test/charges.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ vows.describe("Charges API").addBatch({
},
'returns a charge' : function(err, response) {
assert.isNull(err);
console.log("response", response);
assert.isDefined(response);
assert.equal(response.object, 'charge');
assert.isDefined(response.id);
Expand Down
3 changes: 0 additions & 3 deletions test/customers.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ vows.describe("Customer API").addBatch({
},
'returns a customer': function(err, response) {
assert.isNull(err);
console.log("response", response);
assert.isDefined(response);
assert.equal(response.object, 'customer');
assert.equal(response.email, "[email protected]");
Expand Down Expand Up @@ -50,11 +49,9 @@ vows.describe("Customer API").addBatch({
},
'Delete customer' : {
topic: function(create_err, customer) {
console.log("customer for deletion", customer);
stripe.customers.del(customer.id, this.callback);
},
'Customer was deleted': function(err,response) {
console.log("response", response);
assert.isNull(err);
assert.isTrue(response.deleted);
}
Expand Down
8 changes: 0 additions & 8 deletions test/invoices.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ vows.describe("Invoice API").addBatch({
'returns a plan': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'plan');
assert.equal(response.id, 'foobarbaz_plan');
Expand All @@ -50,7 +49,6 @@ vows.describe("Invoice API").addBatch({
'returns a customer': function(err, response) {
assert.isNull(err);

console.log("response", response);
assert.isDefined(response);
assert.equal(response.object, 'customer');
assert.equal(response.email, "[email protected]");
Expand All @@ -68,7 +66,6 @@ vows.describe("Invoice API").addBatch({
'created a charge': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'charge');
assert.equal(response.paid, true);
Expand All @@ -80,7 +77,6 @@ vows.describe("Invoice API").addBatch({
'receives a list of invoices': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.isArray(response.data);
assert.strictEqual(response.data.length > 0, true);
Expand All @@ -97,7 +93,6 @@ vows.describe("Invoice API").addBatch({
'received invoice': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'invoice');
assert.strictEqual(response.total > 0, true);
Expand All @@ -109,7 +104,6 @@ vows.describe("Invoice API").addBatch({
'received upcoming invoice': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'invoice');
assert.strictEqual(response.total > 0, true);
Expand All @@ -121,7 +115,6 @@ vows.describe("Invoice API").addBatch({
'customer deleted': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.isTrue(response.deleted);
},
Expand All @@ -132,7 +125,6 @@ vows.describe("Invoice API").addBatch({
'deleted the subscription plan': function(err, response) {
assert.isNull(err);

console.log('response', response);
assert.isDefined(response);
assert.isTrue(response.deleted);
}
Expand Down
6 changes: 0 additions & 6 deletions test/plans.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,6 @@ vows.describe("Subscription Plans API").addBatch({
},
'returns a plan': function(err, response) {
assert.isNull(err);
console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'plan');
assert.equal(response.id, 'foobarbaz_plan');
Expand All @@ -53,7 +52,6 @@ vows.describe("Subscription Plans API").addBatch({
var p = getFirstPlan();

assert.isNull(err);
console.log('response', response);
assert.isDefined(response);
assert.equal(response.id, p.id);
}
Expand All @@ -70,7 +68,6 @@ vows.describe("Subscription Plans API").addBatch({
},
'returns a plan': function(err, response) {
assert.isNull(err);
console.log('response', response);
assert.isDefined(response);
assert.equal(response.object, 'plan');
assert.equal(response.id, 'bazbarfoo_plan');
Expand All @@ -85,7 +82,6 @@ vows.describe("Subscription Plans API").addBatch({
},
'returns a list of plans': function(err, response) {
assert.isNull(err);
console.log('response', response);

assert.isDefined(response);
assert.isNumber(response.count);
Expand All @@ -102,7 +98,6 @@ vows.describe("Subscription Plans API").addBatch({

var p = getFirstPlan(true);

console.log('response', response);
assert.isDefined(response);
assert.isTrue(response.deleted);
assert.equal(response.id, p.id);
Expand All @@ -118,7 +113,6 @@ vows.describe("Subscription Plans API").addBatch({

var p = getFirstPlan(true);

console.log('response', response);
assert.isDefined(response);
assert.isTrue(response.deleted);
assert.equal(response.id, p.id);
Expand Down

0 comments on commit ed01a83

Please sign in to comment.