summaryrefslogtreecommitdiff
path: root/test/setup_couch.sh
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-03-31 01:47:17 -0700
committerelijah <elijah@riseup.net>2015-03-31 01:47:17 -0700
commit7454a0004b2f6a374d4967b2635ec6f6161ee90f (patch)
treeee44bdf3ed7b2cf9cf648034bc631aefe2ca4e78 /test/setup_couch.sh
parent25b34acce7612f58c5d40819de79734b08cdfb8f (diff)
pin travis ruby to a version installed on travis-ci.org
Diffstat (limited to 'test/setup_couch.sh')
-rw-r--r--test/setup_couch.sh13
1 files changed, 0 insertions, 13 deletions
diff --git a/test/setup_couch.sh b/test/setup_couch.sh
deleted file mode 100644
index c11993d..0000000
--- a/test/setup_couch.sh
+++ /dev/null
@@ -1,13 +0,0 @@
-#!/bin/bash
-
-HOST="http://localhost:5984"
-echo "couch version :"
-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/tapicero_test_users
-echo "restricting database access :"
-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"'