Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

remove debug logging

  • Loading branch information...
commit ed01a83573cc2a2aa602684bb4f372381c84d34c 1 parent e4e7020
@janl janl authored
View
1  test/charges.js
@@ -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);
View
3  test/customers.js
@@ -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, "foo@example.com");
@@ -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);
}
View
8 test/invoices.js
@@ -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');
@@ -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, "foo@example.com");
@@ -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);
@@ -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);
@@ -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);
@@ -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);
@@ -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);
},
@@ -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);
}
View
6 test/plans.js
@@ -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');
@@ -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);
}
@@ -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');
@@ -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);
@@ -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);
@@ -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);
Please sign in to comment.
Something went wrong with that request. Please try again.