summaryrefslogtreecommitdiff
path: root/test/support
diff options
context:
space:
mode:
authorazul <azul@riseup.net>2017-09-23 14:44:56 +0000
committerazul <azul@riseup.net>2017-09-23 14:44:56 +0000
commit787287318c54b019a12ef79525c9f5b10d93724d (patch)
tree653c56240d681e1aaf5f7f0ef00904d0bd24301f /test/support
parentbc48ac30c232f1e3fa5f5ad455f14d5fec17abeb (diff)
parentc0410a5a5c5dbdd5fa182ac25d72ebb99e48bbb3 (diff)
Merge branch 'wkd' into 'master'
Fetch keys from web key directory See merge request leap/nickserver!18
Diffstat (limited to 'test/support')
-rw-r--r--test/support/http_stub_helper.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/support/http_stub_helper.rb b/test/support/http_stub_helper.rb
index 4e3d89b..cc9196e 100644
--- a/test/support/http_stub_helper.rb
+++ b/test/support/http_stub_helper.rb
@@ -27,8 +27,7 @@ module HttpStubHelper
def stub_couch_response(uid, response = {})
query = "\?key=#{"%22#{uid}%22"}&reduce=false"
- stub_http_get /#{Regexp.escape(config.couch_url)}.*#{query}/,
- response
+ stub_http_get(/#{Regexp.escape(config.couch_url)}.*#{query}/, response)
end
private