couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kevin Jackson <foamd...@gmail.com>
Subject Re: [Patch] remove redundant delete db call in basics.js test
Date Mon, 18 May 2009 20:03:50 GMT
Hi,

> Just because we fixed the bug doesn't mean we should stop testing it.

Ok, that makes sense, but the current basics.js doesn't test that the
return value from db.deleteDb is the correct status, it simply calls
db.deleteDb twice - this doesn't assert anything

> Also, we should probably make an explicit test that the status is 412
> even if deleteDB has an internal check.

That makes more sense.

Kev

Mime
View raw message