rspec-request_describer 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rspec/request_describer.rb +3 -3
- data/lib/rspec/request_describer/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85237530e5fb7d087e3467c6973cec4c8834a710
|
4
|
+
data.tar.gz: 38e3663ae4ae35165a3d1f05616ff9f5824f58f7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f7bbed2ea3fb8c475afa8ec99eda479749fed51b5952f20b498a7b3b9b6c5012d37eeaa086966af3db5093a7bef2623406fa436ce4aa14e91b40e32c256cae20
|
7
|
+
data.tar.gz: af231bfe004dba6e8f545059020b03557b512177d8f04ecec74dbb6b92e54ffee884970dc182c3d4335b189a3431ab4fdd5386ef27d4ff61da133715cf28b7b3
|
data/CHANGELOG.md
CHANGED
@@ -24,7 +24,7 @@ module RSpec
|
|
24
24
|
end
|
25
25
|
|
26
26
|
let(:send_request) do
|
27
|
-
|
27
|
+
send(
|
28
28
|
http_method,
|
29
29
|
path,
|
30
30
|
headers: env,
|
@@ -61,9 +61,9 @@ module RSpec
|
|
61
61
|
current_example.full_description.match(/(#{::Regexp.union(SUPPORTED_METHODS)}) (\S+)/).to_a
|
62
62
|
end
|
63
63
|
|
64
|
-
# @return [
|
64
|
+
# @return [String] e.g. `"get"`
|
65
65
|
let(:http_method) do
|
66
|
-
endpoint_segments[1].downcase
|
66
|
+
endpoint_segments[1].downcase
|
67
67
|
end
|
68
68
|
|
69
69
|
let(:path) do
|