fakemongo/fongo — pull request #4 by jasondemorrow (2014-01-18 20:48:40+00:00)
Title: Some things I needed to fix to make known-good operations work

Feel free to take or leave any of these changes at your discretion. I'm not convinced that I implemented them optimally, but they do at least highlight some cases where my known-good operations (in real mongo) were failing explosively with fongo.