diff --git a/test/model.discriminator.test.js b/test/model.discriminator.test.js index f373b0fc444..ab00eb46535 100644 --- a/test/model.discriminator.test.js +++ b/test/model.discriminator.test.js @@ -484,7 +484,9 @@ describe('model', function() { $push: { events: { kind: 'Clicked', element: '#button' } } - }).then(() => doc); + }).then(function() { + return doc; + }); }). then(function(doc) { return Batch.findOne({ _id: doc._id });