rspec-httpd 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/rspec/httpd/expectation_failed.rb +3 -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: 63a83e63d887fb7d1a4624719c551449fed53ab9ce4fd737c23b81eca8fbfec9
|
4
|
+
data.tar.gz: 85263b7c0017af759b76ae5f9c8f4b053775b570e741d006388b31075a16565f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 97fc5313c1fb71e24622043efd4729bbd155ea4ae32057f5c92c705e3153d91b291156bdabe0780fcfa16804b18fcbf8f05eab802ccdd8a5addd6d961b0ab33e
|
7
|
+
data.tar.gz: d74cb440e90cbc553d66351fab7739fc925e79104514444d998eee79e28ab7c18b69d685d7e4c2e40809c45749288388e86adc447337365f5d7a7415c0dea6d0
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.10
|
@@ -13,7 +13,9 @@ class RSpec::Httpd::ExpectationFailed < RuntimeError
|
|
13
13
|
|
14
14
|
def request_info
|
15
15
|
request_info = "#{request.method} #{request.path}"
|
16
|
-
|
16
|
+
|
17
|
+
body = request.body
|
18
|
+
return request_info unless body
|
17
19
|
|
18
20
|
"#{request_info}#{body_info(parsed_body(body) || body)}"
|
19
21
|
end
|