Update subscription server tests to use async.series

This commit is contained in:
Matt Lott 2015-09-25 10:28:13 -07:00
parent 928f72e2cf
commit 1f08867f79

View file

@ -449,7 +449,7 @@ describe 'Subscriptions', ->
unless invoice.id of invoicesWebHooked
invoicesWebHooked[invoice.id] = true
webhookTasks.push makeWebhookCall(invoice)
async.parallel webhookTasks, (err, results) ->
async.series webhookTasks, (err, results) ->
expect(err?).toEqual(false)
done(updatedUser)