File tree 1 file changed +5
-3
lines changed
1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -7323,7 +7323,8 @@ describe('Model', function() {
7323
7323
7324
7324
yield User . insertMany ( [
7325
7325
new User ( { name : 'Hafez1_gh-9673-2' } ) ,
7326
- new User ( { name : 'Hafez2_gh-9673-2' } )
7326
+ new User ( { name : 'Hafez2_gh-9673-2' } ) ,
7327
+ new User ( { name : 'Hafez3_gh-9673-2' } )
7327
7328
] ) ;
7328
7329
7329
7330
const users = yield User . find ( ) . sort ( 'name' ) ;
@@ -7339,7 +7340,8 @@ describe('Model', function() {
7339
7340
usersAfterUpdate . map ( user => user . name ) ,
7340
7341
[
7341
7342
'Hafez1_gh-9673-2-updated' ,
7342
- 'Hafez2_gh-9673-2-updated'
7343
+ 'Hafez2_gh-9673-2-updated' ,
7344
+ 'Hafez3_gh-9673-2'
7343
7345
]
7344
7346
) ;
7345
7347
} ) ;
@@ -7412,7 +7414,7 @@ describe('Model', function() {
7412
7414
assert . equal ( user2 . isNew , false ) ;
7413
7415
} ) ;
7414
7416
} ) ;
7415
- it ( 'sets `isNew` to false when a document succeds and `isNew` does not change when some fail' , ( ) => {
7417
+ it ( 'sets `isNew` to false when a document succeeds and `isNew` does not change when some fail' , ( ) => {
7416
7418
return co ( function * ( ) {
7417
7419
const userSchema = new Schema ( {
7418
7420
name : { type : String , unique : true }
You can’t perform that action at this time.
0 commit comments