couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [1/3] git commit: fix comments & whitespace in tests
Date Tue, 21 Feb 2012 19:18:30 GMT
Updated Branches:
  refs/heads/1.2.x 2ef8ecc08 -> 8c76f98b2


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/a1c9c992
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/a1c9c992
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/a1c9c992

Branch: refs/heads/1.2.x
Commit: a1c9c9927e3338b5156bd1bfc9704a4634ea887c
Parents: 2ef8ecc
Author: Jan Lehnardt <jan@apache.org>
Authored: Thu Feb 16 16:29:06 2012 +0100
Committer: Jan Lehnardt <jan@apache.org>
Committed: Tue Feb 21 14:39: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/a1c9c992/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 8e1bb21..faa2be4 100644
--- a/share/www/script/test/users_db_security.js
+++ b/share/www/script/test/users_db_security.js
@@ -99,11 +99,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";
 
@@ -227,7 +225,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}],


Mime
View raw message