Commit b2948e5d authored by Bryan Kaperick's avatar Bryan Kaperick

Added additional testing of the revisions and removed extraneous tests.

parent 5762d991
......@@ -18,7 +18,6 @@
sub_storage: spec.sub_storage
}
});
}
BryanStorage.prototype.get = function (id_in) {
......@@ -28,7 +27,7 @@
sort_on: [['_revision', 'descending']]
//include_docs: true
};
return this._sub_storage.allDocs(options)
return this.allDocs(options)
// Return query results if there are any, else throw error
.push(function (query_results) {
var docs = query_results.data.rows;
......@@ -71,6 +70,10 @@
);
};
BryanStorage.prototype.allDocs = function () {
return this._sub_storage.allDocs.apply(this._sub_storage, arguments);
};
BryanStorage.prototype.allAttachments = function () {
return this._sub_storage.allAttachments.apply(this._sub_storage, arguments);
};
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment