-
Type: Bug
-
Resolution: Done
-
Priority: Blocker - P1
-
Affects Version/s: None
-
Component/s: Testing
According to http://docs.mongodb.org/manual/reference/method/cursor.sort/#return-natural-order:
"The $natural parameter returns items according to their natural order within the database. This ordering is an internal implementation feature, and you should not rely on any particular structure within it."
Remove test assert which makes assumptions on the document returned by findOne({})