rspec-webservice_matchers 1.4.5 → 1.4.6
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 301bff8ff03e8860581b9c5b384b1ad69defd7f3
|
4
|
+
data.tar.gz: 99bf6e38a2c4e81d6ed31d209ab62f15a662bd4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05411b388dbe46901b03bf312ce54d3aed2fb105856c87118099be5c5fd7836b8e1b909772b7400695f0d9ca4d6fdb043c395cf7e5e6f3f96e30ce8cce9acc66
|
7
|
+
data.tar.gz: a3cd931442454b0cc94fc933ef0af07edb9cc1edfdb66a38b1cfb39f43861f7a56e0706522538f1a0c3cdac133b35b85573079a510faf2d102464fd05e3ee31b
|
@@ -28,6 +28,12 @@ describe 'have_a_valid_cert matcher' do
|
|
28
28
|
expect('sdfgkljhsdfghjkhsdfgj.edu').to have_a_valid_cert
|
29
29
|
}.to fail_matching(/not known/i)
|
30
30
|
end
|
31
|
+
|
32
|
+
it 'provides a good error message if the request times out' do
|
33
|
+
expect {
|
34
|
+
'www.myapp.com'.should have_a_valid_cert
|
35
|
+
}.to fail_matching(/execution expired/)
|
36
|
+
end
|
31
37
|
end
|
32
38
|
|
33
39
|
|