Skip to content

Commit

Permalink
another typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Faibk committed Nov 15, 2017
1 parent 3c9a5c1 commit 484e32b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/docs/discriminators.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -367,9 +367,9 @@ describe('discriminator docs', function () {
}, { _id: false });

var SubEvent = subEventSchema.path('sub_events').discriminator('SubEvent', subEventSchema)
eventList.path('events').discriminator('SubEvent', subEventSchema);
eventListSchema.path('events').discriminator('SubEvent', subEventSchema);

var Eventlist = db.model('EventList', eventList);
var Eventlist = db.model('EventList', eventListSchema);

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

0 comments on commit 484e32b

Please sign in to comment.