From 5d3cf83abf9123af67b3965dea7ad12022d66c3f Mon Sep 17 00:00:00 2001 From: Azul Date: Tue, 4 Feb 2014 09:43:24 +0100 Subject: unify naming scheme - tapicero_test prefix --- .travis.yml | 8 ++++---- test/config.yaml | 6 +++--- test/setup_couch.sh | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/.travis.yml b/.travis.yml index 163f92b..3fd27a7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,10 +6,10 @@ notifications: email: false before_script: - "/bin/bash test/setup_couch.sh" - - "touch /tmp/test-tapicero.log" + - "touch /tmp/tapicero_test.log" - "bundle exec bin/tapicero start test/config.yaml" - "bundle exec bin/tapicero status" - - "cat /tmp/test-tapicero.log" + - "cat /tmp/tapicero_test.log" after_script: - - "cat /tmp/test-tapicero.log" - - "cat /tmp/test-tapicero.seq" + - "cat /tmp/tapicero_test.log" + - "cat /tmp/tapicero_test.seq" diff --git a/test/config.yaml b/test/config.yaml index 599df4a..e59b4de 100644 --- a/test/config.yaml +++ b/test/config.yaml @@ -9,11 +9,11 @@ connection: port: 5984 username: anna password: secret - prefix: "tapicero-test" + prefix: "tapicero_test" suffix: "" # file to store the last processed user record in so we can resume after # a restart: -seq_file: "/tmp/test-tapicero.seq" -log_file: "/tmp/test-tapicero.log" +seq_file: "/tmp/tapicero_test.seq" +log_file: "/tmp/tapicero_test.log" log_level: debug diff --git a/test/setup_couch.sh b/test/setup_couch.sh index ae28758..c11993d 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/tapicero-test-users +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":[]}}' +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