diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/helpers/couchdb_helper.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/helpers/couchdb_helper.rb b/tests/helpers/couchdb_helper.rb index b9085c1e..efb2c2bf 100644 --- a/tests/helpers/couchdb_helper.rb +++ b/tests/helpers/couchdb_helper.rb @@ -124,6 +124,7 @@ class LeapTest # returns true if the per-user db created by soledad-server exists. # def user_db_exists?(user_id, options=nil) + options = {:username => 'admin'}.merge(options || {}) db_name = "user-#{user_id}" url = couchdb_url("/#{db_name}", options) get(url) do |body, response, error| |