summaryrefslogtreecommitdiff
path: root/share/www/script/test/basics.js
diff options
context:
space:
mode:
authorDamien F. Katz <damien@apache.org>2009-04-10 02:21:37 +0000
committerDamien F. Katz <damien@apache.org>2009-04-10 02:21:37 +0000
commit1df631f8653fefdda8d852b39f4ca9aec46f69da (patch)
treeb689897a497fed4599a68d96322023a4782573a2 /share/www/script/test/basics.js
parent7db96420155d3fe6b6d8b5eaa10660a65d19b8cc (diff)
Fixes for leaked file handles, with test.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763858 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/basics.js')
-rw-r--r--share/www/script/test/basics.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js
index 4571200e..8adf5a84 100644
--- a/share/www/script/test/basics.js
+++ b/share/www/script/test/basics.js
@@ -29,10 +29,10 @@ couchTests.basics = function(debug) {
if (debug) debugger;
// creating a new DB should return Location header
- xhr = CouchDB.request("DELETE", "/new-db");
- xhr = CouchDB.request("PUT", "/new-db");
- TEquals("/new-db",
- xhr.getResponseHeader("Location").substr(-7),
+ xhr = CouchDB.request("DELETE", "/test_suite_db");
+ xhr = CouchDB.request("PUT", "/test_suite_db");
+ TEquals("/test_suite_db",
+ xhr.getResponseHeader("Location").substr(-14),
"should return Location header to newly created document");
TEquals("http://",