summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/show_documents.js12
1 files changed, 1 insertions, 11 deletions
diff --git a/share/www/script/test/show_documents.js b/share/www/script/test/show_documents.js
index 53ffbc42..5441e72c 100644
--- a/share/www/script/test/show_documents.js
+++ b/share/www/script/test/show_documents.js
@@ -138,16 +138,9 @@ couchTests.show_documents = function(debug) {
// hello template world
xhr = CouchDB.request("GET", "/test_suite_db/_design/template/_show/hello/"+docid);
T(xhr.responseText == "Hello World", "hello");
- T(/charset=utf-8/.test(xhr.getResponseHeader("Content-Type")))
-
- // Fix for COUCHDB-379
- T(equals(xhr.getResponseHeader("Server").substr(0,7), "CouchDB"));
+ T(/charset=utf-8/.test(xhr.getResponseHeader("Content-Type")));
- xhr = CouchDB.request("GET", "/test_suite_db/"+docid+"?show=template/hello");
- T(xhr.responseText == "Hello World");
- T(/charset=utf-8/.test(xhr.getResponseHeader("Content-Type")))
-
// Fix for COUCHDB-379
T(equals(xhr.getResponseHeader("Server").substr(0,7), "CouchDB"));
@@ -173,9 +166,6 @@ couchTests.show_documents = function(debug) {
xhr = CouchDB.request("GET", "/test_suite_db/_design/template/_show/just-name/"+docid);
T(xhr.responseText == "Just Rusty");
- xhr = CouchDB.request("GET", "/test_suite_db/"+docid+"?show=template/just-name");
- T(xhr.responseText == "Just Rusty");
-
// show with missing doc
xhr = CouchDB.request("GET", "/test_suite_db/_design/template/_show/just-name/missingdoc");
T(xhr.status == 404);