summaryrefslogtreecommitdiff
path: root/test/support/http_stub_helper.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/support/http_stub_helper.rb')
-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