rspec-webservice_matchers 1.2.1 → 1.2.2
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: e62fe40def403875ad5bec7d114e96402e7d668c
|
4
|
+
data.tar.gz: e3e2a83066cec63b84ad9b02fb785c022f81bd48
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 95e971b5f599d637de0a5218c7140d24ad9f3650b9247da72ac22fea33b3516621fb642a91c0f2cf659b38a9102cd0035a6b74504ffa9bd2df9381502652c953
|
7
|
+
data.tar.gz: a1debd0244fd675b6e989a76ca507f4c5f6b21e96b64418fcf71f6a4711bfb1abea7da61cf9b2f04f030c6ae745cf528553a9b1efa73d32ccbeb9db4be1d8b8e
|
@@ -21,6 +21,10 @@ describe 'status_code' do
|
|
21
21
|
'www.website.com'.should be_status 200
|
22
22
|
end
|
23
23
|
|
24
|
+
it 'accepts status code in text form too' do
|
25
|
+
'www.website.com'.should be_status '200'
|
26
|
+
end
|
27
|
+
|
24
28
|
it 'can check 503 for the Service Unavailable status' do
|
25
29
|
'http://www.weblaws.org/texas/laws/tex._spec._dist._local_laws_code_section_1011.202_tax_to_pay_general_obligation_bonds'.should be_status 503
|
26
30
|
end
|
@@ -35,4 +39,4 @@ describe 'be_up' do
|
|
35
39
|
it 'can also handle a simple 200' do
|
36
40
|
'http://www.rfc-editor.org/rfc/rfc2616.txt'.should be_up
|
37
41
|
end
|
38
|
-
end
|
42
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-webservice_matchers
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Robb Shecter
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-02-
|
11
|
+
date: 2014-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|