mirror of
https://github.com/nasa/openmct.git
synced 2025-06-22 17:08:57 +00:00
[Persistence] Complete specs for CouchDB adapter
Complete test coverage for CouchDB adapter, WTD-537.
This commit is contained in:
@ -38,10 +38,6 @@ define(
|
||||
return request(subpath, "PUT", value);
|
||||
}
|
||||
|
||||
function del(subpath, value) {
|
||||
return request(subpath, "DELETE", value);
|
||||
}
|
||||
|
||||
function getIdsFromAllDocs(allDocs) {
|
||||
return allDocs.rows.map(function (r) { return r.id; });
|
||||
}
|
||||
@ -61,7 +57,7 @@ define(
|
||||
revs[response.id] = response.rev;
|
||||
return response.ok;
|
||||
} else {
|
||||
return undefined;
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user