You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2012/02/21 20:20:22 UTC

[1/2] git commit: fix comments & whitespace in tests

Updated Branches:
  refs/heads/master dfc5d37c4 -> 6dc942496


fix comments & whitespace in tests


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/64c94168
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/64c94168
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/64c94168

Branch: refs/heads/master
Commit: 64c94168e234c6a3178f2563263e75965f1469e0
Parents: dfc5d37
Author: Jan Lehnardt <ja...@apache.org>
Authored: Thu Feb 16 16:29:06 2012 +0100
Committer: Jan Lehnardt <ja...@apache.org>
Committed: Tue Feb 21 20:20:05 2012 +0100

----------------------------------------------------------------------
 share/www/script/test/users_db_security.js |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/64c94168/share/www/script/test/users_db_security.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/users_db_security.js b/share/www/script/test/users_db_security.js
index 8dcdc63..9735d6b 100644
--- a/share/www/script/test/users_db_security.js
+++ b/share/www/script/test/users_db_security.js
@@ -97,11 +97,9 @@ couchTests.users_db_security = function(debug) {
       TEquals(null, res, "anonymous user doc read should be not found");
 
       // user should be able to read their own document
-
       var jchrisDoc = open_as(usersDb, "org.couchdb.user:jchris", "jchris");
       TEquals("org.couchdb.user:jchris", jchrisDoc._id);
 
-      // user should bt able to update their own document
       // new 'password' fields should trigger new hashing routine
       jchrisDoc.password = "couch";
 
@@ -223,7 +221,7 @@ couchTests.users_db_security = function(debug) {
     });
   };
 
-  usersDb.deleteDb(); 
+  usersDb.deleteDb();
   run_on_modified_server(
     [{section: "couch_httpd_auth",
       key: "authentication_db", value: usersDb.name}],