From aefc36cf032684d7f6d7b040b0b13654d37f2cd6 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Mon, 19 Jan 2009 22:34:16 +0000 Subject: fix attachment_views test on Safari git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735857 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_tests.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'share') diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index a7a341e9..644538a8 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -2862,7 +2862,7 @@ var tests = { }; function makeDocs(start, end, templateDoc) { - var templateDocSrc = templateDoc ? templateDoc.toSource() : "{}" + var templateDocSrc = templateDoc ? JSON.stringify(templateDoc) : "{}" if (end === undefined) { end = start; start = 0; -- cgit v1.2.3