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() {}); }); }); });