diff options
author | Azul <azul@riseup.net> | 2017-09-22 18:40:45 +0200 |
---|---|---|
committer | Azul <azul@riseup.net> | 2017-09-22 18:40:45 +0200 |
commit | c0410a5a5c5dbdd5fa182ac25d72ebb99e48bbb3 (patch) | |
tree | 653c56240d681e1aaf5f7f0ef00904d0bd24301f /test/support | |
parent | 3f777b4cbc7eaa4d127ec31e1d625bba65a40c0d (diff) |
fiX: tests need different names, warnings
Diffstat (limited to 'test/support')
-rw-r--r-- | test/support/http_stub_helper.rb | 3 |
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 |