rspec-httpd 0.3.0 → 0.3.1
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/server.rb +3 -0
- data/lib/rspec/httpd.rb +2 -2
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ac7073a4b7ef40af724aed16b7877cc41a6f9be00378a28cc5ad4b2618c9a16
|
4
|
+
data.tar.gz: a249cd274ee25dbf9b0dc98a9ee02694e7d2b2d496b0f214eaa14048a7658add
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00f662756503a7437ce262c0617390702e0f3027a60a78694a1badd7405a772fdf7d9803d97861d92f2902c4bb997dc9ab362e57a02b609b31b8bc52d5cb8b21
|
7
|
+
data.tar.gz: c01a45c88f068edf5a6572575d2b7fc7c93d60dd77c5b8cd528521dcba8cbd9ac908e8d9ba9e47a9fcb0ecb868f5e27780bb80270a49d561bb5ede8ce03b3aab
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.3.
|
1
|
+
0.3.1
|
data/lib/rspec/httpd/server.rb
CHANGED
data/lib/rspec/httpd.rb
CHANGED
@@ -75,8 +75,8 @@ module RSpec::Httpd
|
|
75
75
|
response = client.response
|
76
76
|
request = response.request
|
77
77
|
|
78
|
-
expect(response.status).to eq(expected_status),
|
79
|
-
|
78
|
+
expect(response.status).to eq(expected_status),
|
79
|
+
"status should be #{expected_status}, but is #{response.status}, on '#{request}'"
|
80
80
|
|
81
81
|
return if expected.nil? || expected.is_a?(Integer)
|
82
82
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rspec-httpd
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Enrico Thierbach
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 0.3.1
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 0.3.1
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: rake
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|