siddMahen/GridFS — pull request #3 by domharrington (2012-03-31 11:05:12+00:00)
Title: Fixed failing tests with node-mongodb-native at v0.9.9-7

In node-mongodb-native v0.9.8-5 they removed the writeBuffer and readBuffer methods: https://github.com/christkv/node-mongodb-native/blob/master/HISTORY#L83

Calling these non-existant methods was causing the tests to fail. Replacing these method calls with read/write seems to solve the problem.