bearcat 1.5.4 → 1.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/bearcat/spec_helpers.rb +1 -0
- data/lib/bearcat/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f45f61beb5bf6de6be81d2addef3e0abc7a5f9542e343091c40f50bde572f40
|
4
|
+
data.tar.gz: 2e7c146f8c8b42c2311e9fa28c0d4846c4d15335148655b7af883137cd337d4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 76e66a0e528357694ad74e1580f0e04587e511a31849cd7605c5c1c7dac56936828007a8bc1c597017009909759343fd8cbce494a1d26ce081d43724cfe918c8
|
7
|
+
data.tar.gz: e171e4b69ee814abdd4c6fa8555dc40518538985bea7738b4955a77acb516ce8d21c46acc1c1baadc756329352f7085315d6a4132d8860414dd96fd58eb9cc09
|
data/lib/bearcat/spec_helpers.rb
CHANGED
@@ -19,6 +19,7 @@ module Bearcat::SpecHelpers
|
|
19
19
|
cfg = _bearcat_resolve_config(endpoint, kwargs, method: method)
|
20
20
|
|
21
21
|
url = Regexp.escape(_bearcat_resolve_prefix(prefix)) + cfg[:url]
|
22
|
+
url += "?" if url.end_with?('/')
|
22
23
|
stub = stub_request(cfg[:method], Regexp.new(url))
|
23
24
|
|
24
25
|
# Override the to_return method to accept a Hash as body:
|
data/lib/bearcat/version.rb
CHANGED