diff --git a/mock-kue.js b/mock-kue.js index a9ca862..c31dfb6 100644 --- a/mock-kue.js +++ b/mock-kue.js @@ -11,7 +11,7 @@ kue.Job.prototype.save = function(fn){ this.id = mockJobs.length; mockJobs.push(this); if(fn){ - fn(this); + fn(); } }