summaryrefslogtreecommitdiff
path: root/share/www/script/couch_tests.js
diff options
context:
space:
mode:
authorJohn Christopher Anderson <jchris@apache.org>2009-01-19 22:34:16 +0000
committerJohn Christopher Anderson <jchris@apache.org>2009-01-19 22:34:16 +0000
commitaefc36cf032684d7f6d7b040b0b13654d37f2cd6 (patch)
tree56693a8c916d1a8a7df9cbc13b4fd80d0be8ac32 /share/www/script/couch_tests.js
parent8d735cb60ee4ca15dd9f60f916d001c4b9efb675 (diff)
fix attachment_views test on Safari
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735857 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch_tests.js')
-rw-r--r--share/www/script/couch_tests.js2
1 files changed, 1 insertions, 1 deletions
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;