Skip to content

Commit

Permalink
Bump dependencies versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ob-stripe committed Sep 12, 2017
1 parent 2e00905 commit 953b481
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,17 +26,17 @@
},
"main": "lib/stripe.js",
"devDependencies": {
"chai": "~1.10.0",
"chai-as-promised": "~4.1.1",
"chai": "~4.1.2",
"chai-as-promised": "~7.1.1",
"jscs": "^2.3.5",
"mocha": "~2.1.0",
"mocha": "~3.5.3",
"stripe-javascript-style": "^1.0.1"
},
"dependencies": {
"bluebird": "^2.10.2",
"bluebird": "^3.5.0",
"lodash.isplainobject": "^4.0.6",
"object-assign": "^4.1.0",
"qs": "~6.0.4"
"object-assign": "^4.1.1",
"qs": "~6.5.1"
},
"license": "MIT",
"scripts": {
Expand Down
12 changes: 6 additions & 6 deletions test/flows.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ describe('Flows', function() {
CURRENCY = acct.default_currency;
return acct;
})
).to.eventually.have.deep.property('default_currency');
).to.eventually.have.property('default_currency');
});

describe('Plan+Subscription flow', function() {
Expand Down Expand Up @@ -201,7 +201,7 @@ describe('Flows', function() {
it('Can be retrieved from that customer', function() {
return expect(
stripe.customers.retrieve(customer.id)
).to.eventually.have.deep.property('discount.coupon.id', coupon.id);
).to.eventually.have.nested.property('discount.coupon.id', coupon.id);
});
describe('The resulting discount', function() {
it('Can be removed', function() {
Expand All @@ -213,7 +213,7 @@ describe('Flows', function() {
it('Does indeed indicate that it is deleted', function() {
return expect(
stripe.customers.retrieve(customer.id)
).to.eventually.have.deep.property('discount', null);
).to.eventually.have.property('discount', null);
});
});
});
Expand Down Expand Up @@ -344,7 +344,7 @@ describe('Flows', function() {
expand: ['customer'],
});
})
).to.eventually.have.deep.property('customer.created');
).to.eventually.have.nested.property('customer.created');
});
});
describe('A customer\'s default source', function() {
Expand All @@ -360,7 +360,7 @@ describe('Flows', function() {
return cust;
})
// Confirm it's expanded by checking that some prop (e.g. exp_year) exists:
).to.eventually.have.deep.property('default_source.exp_year');
).to.eventually.have.nested.property('default_source.exp_year');
});
});
});
Expand All @@ -381,7 +381,7 @@ describe('Flows', function() {
}).then(null, function(error) {
return error;
})
).to.eventually.have.deep.property('raw.charge');
).to.eventually.have.nested.property('raw.charge');
});
});

Expand Down

0 comments on commit 953b481

Please sign in to comment.