Commit eeeb06e6 authored by Sven Franck's avatar Sven Franck

Revision-Local Storage Fix Indentation

parent 7df4a30d
...@@ -1577,8 +1577,8 @@ test ("Scenario", function(){ ...@@ -1577,8 +1577,8 @@ test ("Scenario", function(){
o.rev = "1-"+o.hex; o.rev = "1-"+o.hex;
o.spy (o, "value", {"ok": true, "id": "sample1", "rev": o.rev}, o.spy (o, "value", {"ok": true, "id": "sample1", "rev": o.rev},
"Then, I create a new document (no attachment), my application "+ "Then, I create a new document (no attachment), my application "+
"keep the revision in memory"); "keep the revision in memory");
o.jio.put(o.doc, o.f); o.jio.put(o.doc, o.f);
o.tick(o); o.tick(o);
...@@ -1594,7 +1594,7 @@ test ("Scenario", function(){ ...@@ -1594,7 +1594,7 @@ test ("Scenario", function(){
o.localpath = "jio/localstorage/usam1/asam1"; o.localpath = "jio/localstorage/usam1/asam1";
// Create a new JIO in a new tab // Create a new JIO in a new tab
ok ( o.jio2, "Now, I am opening a new tab, with the same application"+ ok (o.jio2, "Now, I am opening a new tab, with the same application"+
" and the same storage tree"); " and the same storage tree");
// Get the document from the first storage // Get the document from the first storage
...@@ -1620,8 +1620,9 @@ test ("Scenario", function(){ ...@@ -1620,8 +1620,9 @@ test ("Scenario", function(){
o.tick(o); o.tick(o);
// MODFIY first version // MODFIY first version
o.doc_1 = {"_id": "sample1", "_rev": o.rev, o.doc_1 = {
"title": "mySample1_modified"}; "_id": "sample1", "_rev": o.rev, "title": "mySample1_modified"
};
o.revisions_1 = {"start": 1, "ids":[o.rev.split('-')[1] o.revisions_1 = {"start": 1, "ids":[o.rev.split('-')[1]
]}; ]};
o.hex_1 = generateRevisionHash(o.doc_1, o.revisions_1); o.hex_1 = generateRevisionHash(o.doc_1, o.revisions_1);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment