summaryrefslogtreecommitdiff
path: root/share/www/script/test/basics.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/basics.js')
-rw-r--r--share/www/script/test/basics.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/share/www/script/test/basics.js b/share/www/script/test/basics.js
index 00785dc8..39500629 100644
--- a/share/www/script/test/basics.js
+++ b/share/www/script/test/basics.js
@@ -63,6 +63,12 @@ couchTests.basics = function(debug) {
var doc = db.open(id, {revs_info:true});
T(doc._revs_info[0].status == "available");
+ // make sure you can do a seq=true option
+ var doc = db.open(id, {local_seq:true});
+ console.log(doc._local_seq)
+ T(doc._local_seq == 1);
+
+
// Create some more documents.
// Notice the use of the ok member on the return result.
T(db.save({_id:"1",a:2,b:4}).ok);