Permalink
Browse files

fix tests for couchdb 1.1.1

  • Loading branch information...
1 parent 896bc82 commit c5209edceef1635c4ef0d23119f8327b5f3403de @mikepb committed May 27, 2012
Showing with 4 additions and 5 deletions.
  1. +4 −5 test/database-test.js
View
@@ -249,21 +249,21 @@ describe('DB', function(){
describe('#copy', function(){
it('should copy id to id', function(done){
- shouldCopy.call(this, done, this.doc._id, '1', '1', '1-095d0517d4ee0271cc517163c4e465ff');
+ shouldCopy.call(this, done, this.doc._id, '1', '1', '1-15f65339921e497348be384867bb940f');
});
it('should copy doc to id', function(done){
- shouldCopy.call(this, done, this.doc, '1', '1', '1-095d0517d4ee0271cc517163c4e465ff');
+ shouldCopy.call(this, done, this.doc, '1', '1', '1-15f65339921e497348be384867bb940f');
});
it('should copy doc to doc', function(done){
var target = { _id: '1' };
- shouldCopy.call(this, done, this.doc, target, target._id, '1-095d0517d4ee0271cc517163c4e465ff');
+ shouldCopy.call(this, done, this.doc, target, target._id, '1-15f65339921e497348be384867bb940f');
});
it('should copy doc to doc with rev', function(done){
var target = { _id: '1', _rev: this.doc._rev };
- shouldCopy.call(this, done, this.doc, target, target._id, '2-92c76f94974bbbb524cf9e18aedd3572');
+ shouldCopy.call(this, done, this.doc, target, target._id, '2-47661acbb62a2a63704c803bc0152f2b');
});
function shouldCopy(done, source, target, id, rev) {
@@ -308,7 +308,6 @@ describe('DB', function(){
if (!err) {
for (len = body.length; i < len; i++) {
item = body[i], doc = docs[i];
- shouldBeOk(item);
shouldHaveIdRev(item, doc._id, item._rev);
}
shouldHave2xxStatus(status);

0 comments on commit c5209ed

Please sign in to comment.