Merge pull request #6046 from vIiRuS/newIAPs

Handle new possible iOS in-app-purchases
This commit is contained in:
Blade Barringer
2015-10-19 17:49:01 -05:00
3 changed files with 24 additions and 5 deletions
+1 -1
View File
@@ -155,7 +155,7 @@ describe 'In-App Purchases', ->
inApp.iosVerify(req, res, next)
expect(paymentSpy).to.be.calledOnce
expect(paymentSpy).to.be.calledWith({user: res.locals.user, paymentMethod:'IAP AppleStore'})
expect(paymentSpy).to.be.calledWith({user: res.locals.user, paymentMethod:'IAP AppleStore', amount: 5.25})
context 'error in setup', ->
before ->