Skip to content

Commit

Permalink
[test] Fix couchdb load error caused js ref
Browse files Browse the repository at this point in the history
  • Loading branch information
pksunkara committed Aug 3, 2012
1 parent efac952 commit 015db6a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions test/engines/memory.js
Expand Up @@ -5,6 +5,7 @@ engine.options = { uri: 'test' };

engine.load = function (resourceful, data, callback) {
data = data.map(function (r) {
r = JSON.parse(JSON.stringify(r));
r.id = r._id;
delete r._id;
return r;
Expand Down

0 comments on commit 015db6a

Please sign in to comment.