From 1df631f8653fefdda8d852b39f4ca9aec46f69da Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Fri, 10 Apr 2009 02:21:37 +0000 Subject: Fixes for leaked file handles, with test. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@763858 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/basics.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'share/www/script/test/basics.js') 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://", -- cgit v1.2.3