diff options
-rw-r--r-- | share/www/script/test/show_documents.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js index ed1ab3b3..f4aa62a7 100644 --- a/share/www/script/test/show_documents.js +++ b/share/www/script/test/show_documents.js @@ -152,7 +152,7 @@ couchTests.show_documents = function(debug) { // show with missing doc xhr = CouchDB.request("GET", "/test_suite_db/_design/template/_show/just-name/missingdoc"); - console.log(xhr) + T(xhr.status == 404, 'Doc should be missing'); T(xhr.responseText == "No such doc"); |