From 53b2a1f1f750a48939e69278297d69dbc6b213ad Mon Sep 17 00:00:00 2001 From: Azul Date: Mon, 6 Jan 2014 07:47:28 +0100 Subject: try to get require rubygems to work on travis --- test/config.yaml | 2 +- test/config/config.yaml | 5 ----- test/setup_couch.sh | 4 ++-- 3 files changed, 3 insertions(+), 8 deletions(-) delete mode 100644 test/config/config.yaml (limited to 'test') diff --git a/test/config.yaml b/test/config.yaml index 6719eb4..599df4a 100644 --- a/test/config.yaml +++ b/test/config.yaml @@ -9,7 +9,7 @@ connection: port: 5984 username: anna password: secret - prefix: "test" + prefix: "tapicero-test" suffix: "" # file to store the last processed user record in so we can resume after diff --git a/test/config/config.yaml b/test/config/config.yaml deleted file mode 100644 index ee10fe6..0000000 --- a/test/config/config.yaml +++ /dev/null @@ -1,5 +0,0 @@ -# -# testing configuration options -# - -db_prefix: "tapicero_test-" diff --git a/test/setup_couch.sh b/test/setup_couch.sh index 026c15c..ae28758 100644 --- a/test/setup_couch.sh +++ b/test/setup_couch.sh @@ -6,8 +6,8 @@ curl -X GET $HOST echo "creating unprivileged user :" curl -HContent-Type:application/json -XPUT $HOST/_users/org.couchdb.user:me --data-binary '{"_id": "org.couchdb.user:me","name": "me","roles": [],"type": "user","password": "pwd"}' echo "creating database to watch:" -curl -X PUT $HOST/test-users +curl -X PUT $HOST/tapicero-test-users echo "restricting database access :" -curl -X PUT $HOST/test-users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}' +curl -X PUT $HOST/tapicero-test-users/_security -Hcontent-type:application/json --data-binary '{"admins":{"names":[],"roles":[]},"members":{"names":["me"],"roles":[]}}' echo "adding admin :" curl -X PUT $HOST/_config/admins/anna -d '"secret"' -- cgit v1.2.3