summaryrefslogtreecommitdiff
path: root/tests/helpers/couchdb_helper.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-03-17 16:53:33 -0700
committerelijah <elijah@riseup.net>2016-03-17 16:53:33 -0700
commit61441a85b2a96cedd33c7bdc5940f0b8858de7be (patch)
tree25aef7aadcb089192b2afb53005cb4edb4c0e991 /tests/helpers/couchdb_helper.rb
parent55ede82e2127095d613f062dc452e33c87f7b424 (diff)
mx test: query identities table for a random record. closes #6406
Diffstat (limited to 'tests/helpers/couchdb_helper.rb')
-rw-r--r--tests/helpers/couchdb_helper.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helpers/couchdb_helper.rb b/tests/helpers/couchdb_helper.rb
index d4d3c0e0..312e38ac 100644
--- a/tests/helpers/couchdb_helper.rb
+++ b/tests/helpers/couchdb_helper.rb
@@ -66,6 +66,7 @@ class LeapTest
# port: 5984
#
def couchdb_url_via_localhost(path="", options=nil)
+ path = path.gsub('"', '%22')
port = (options && options[:port]) || assert_property('couch.port')
if options && options[:username]
password = property("couch.users.%{username}.password" % options)