From 9af9d0421e435638ede847e568555447ede29460 Mon Sep 17 00:00:00 2001 From: Burcu Dogan Date: Thu, 7 Aug 2014 17:08:59 -0700 Subject: [PATCH] Test case should be done when we acknowledge. --- regression/pubsub.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/regression/pubsub.js b/regression/pubsub.js index 503e6018b61..736fcef2d31 100644 --- a/regression/pubsub.js +++ b/regression/pubsub.js @@ -159,7 +159,7 @@ describe('Subscription', function() { sub.on('message', function(msg) { sub.ack(msg.ackId, done); }); - sub.pull({}, done); + sub.pull({}, function() {}); }); }); });