Skip to content

Commit

Permalink
test: fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarpov15 committed Mar 10, 2017
1 parent 0c99538 commit 0540c8a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/model.discriminator.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 });
Expand Down

0 comments on commit 0540c8a

Please sign in to comment.