couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From klaus_trai...@apache.org
Subject [1/3] couchdb-peruser git commit: Rename tests
Date Wed, 19 Aug 2015 10:26:27 GMT
Repository: couchdb-peruser
Updated Branches:
  refs/heads/master 8d81a8f76 -> 033768ddf


Rename tests


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

Branch: refs/heads/master
Commit: 888a5bd1fe513220541d7c1ebb99234d09f5ec6d
Parents: 8d81a8f
Author: Klaus Trainer <klaus_trainer@posteo.de>
Authored: Wed Aug 19 11:29:59 2015 +0200
Committer: Klaus Trainer <klaus_trainer@posteo.de>
Committed: Wed Aug 19 11:29:59 2015 +0200

----------------------------------------------------------------------
 test/couchdb_peruser_test.erl | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-peruser/blob/888a5bd1/test/couchdb_peruser_test.erl
----------------------------------------------------------------------
diff --git a/test/couchdb_peruser_test.erl b/test/couchdb_peruser_test.erl
index 9bf756d..57a369b 100644
--- a/test/couchdb_peruser_test.erl
+++ b/test/couchdb_peruser_test.erl
@@ -151,7 +151,7 @@ should_reflect_config_changes(TestAuthDb) ->
     create_user(TestAuthDb, User),
     ?_assert(not lists:member(UserDbName, all_dbs())).
 
-should_assign_user_to_db_admins(TestAuthDb) ->
+should_add_user_to_db_admins(TestAuthDb) ->
     User = "qux",
     UserDbName = <<"userdb-717578">>,
     create_user(TestAuthDb, User),
@@ -159,7 +159,7 @@ should_assign_user_to_db_admins(TestAuthDb) ->
         {[{<<"names">>,[<<"qux">>]}]},
         proplists:get_value(<<"admins">>, get_security(UserDbName))).
 
-should_assign_user_to_db_members(TestAuthDb) ->
+should_add_user_to_db_members(TestAuthDb) ->
     User = "qux",
     UserDbName = <<"userdb-717578">>,
     create_user(TestAuthDb, User),
@@ -263,8 +263,8 @@ couchdb_peruser_test_() ->
                     fun should_not_delete_user_db/1,
                     fun should_delete_user_db/1,
                     fun should_reflect_config_changes/1,
-                    fun should_assign_user_to_db_admins/1,
-                    fun should_assign_user_to_db_members/1,
+                    fun should_add_user_to_db_admins/1,
+                    fun should_add_user_to_db_members/1,
                     fun should_not_remove_existing_db_admins/1,
                     fun should_not_remove_existing_db_members/1,
                     fun should_remove_user_from_db_admins/1,


Mime
View raw message