Skip to content

Commit

Permalink
fixed typo in test
Browse files Browse the repository at this point in the history
  • Loading branch information
Faibk committed Nov 14, 2017
1 parent 93eb3aa commit d5fd152
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/docs/discriminators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -369,6 +369,7 @@ describe('discriminator docs', function () {
var SubEvent = subEventSchema.path('sub_events').discriminator('SubEvent', subEventSchema)
batchSchema.path('events').discriminator('SubEvent', subEventSchema);

var Batch = db.model('EventBatch', batchSchema);

// Create a new batch of events with different kinds
var batch = {
Expand Down

0 comments on commit d5fd152

Please sign in to comment.