LearnBoost/mongoose — pull request #680 by wvl (2012-01-11 19:43:14+00:00)
Title: Embedded docs 'isNew' is not set if the doc is added after document is saved. (failing test)

This test fails on line 539.

Adding an embedded doc with the parent doc sets the isNew flag properly (see the previous test case "test isNew on embedded documents after saving"). However, if the embedded doc is added *after* the parent doc has already been created, the isNew flag is not set to false.