webmock 1.7.5 → 1.7.6
Sign up to get free protection for your applications and to get access to all the features.
- data/.rspec-tm +2 -0
- data/CHANGELOG.md +6 -0
- data/Gemfile +2 -2
- data/README.md +1 -0
- data/Rakefile +3 -3
- data/lib/webmock/http_lib_adapters/httpclient_adapter.rb +11 -4
- data/lib/webmock/version.rb +1 -1
- data/spec/{curb_spec.rb → acceptance/curb/curb_spec.rb} +9 -9
- data/spec/{curb_spec_helper.rb → acceptance/curb/curb_spec_helper.rb} +0 -0
- data/spec/{em_http_request_spec.rb → acceptance/em_http_request/em_http_request_spec.rb} +13 -13
- data/spec/{em_http_request_spec_helper.rb → acceptance/em_http_request/em_http_request_spec_helper.rb} +0 -0
- data/spec/acceptance/httpclient/httpclient_spec.rb +67 -0
- data/spec/{httpclient_spec_helper.rb → acceptance/httpclient/httpclient_spec_helper.rb} +0 -0
- data/spec/{net_http_shared.rb → acceptance/net_http/net_http_shared.rb} +0 -0
- data/spec/{net_http_spec.rb → acceptance/net_http/net_http_spec.rb} +6 -6
- data/spec/{net_http_spec_helper.rb → acceptance/net_http/net_http_spec_helper.rb} +0 -0
- data/spec/{real_net_http_spec.rb → acceptance/net_http/real_net_http_spec.rb} +1 -1
- data/spec/{patron_spec.rb → acceptance/patron/patron_spec.rb} +12 -12
- data/spec/{patron_spec_helper.rb → acceptance/patron/patron_spec_helper.rb} +0 -0
- data/spec/acceptance/shared/allowing_and_disabling_net_connect.rb +142 -0
- data/spec/acceptance/shared/callbacks.rb +130 -0
- data/spec/acceptance/shared/enabling_and_disabling_webmock.rb +96 -0
- data/spec/acceptance/shared/precedence_of_stubs.rb +15 -0
- data/spec/acceptance/shared/request_expectations.rb +620 -0
- data/spec/acceptance/shared/returning_declared_responses.rb +377 -0
- data/spec/acceptance/shared/stubbing_requests.rb +314 -0
- data/spec/{typhoeus_hydra_spec.rb → acceptance/typhoeus/typhoeus_hydra_spec.rb} +5 -5
- data/spec/{typhoeus_hydra_spec_helper.rb → acceptance/typhoeus/typhoeus_hydra_spec_helper.rb} +0 -0
- data/spec/acceptance/webmock_shared.rb +38 -0
- data/spec/spec_helper.rb +4 -2
- data/spec/{example_curl_output.txt → support/example_curl_output.txt} +0 -0
- data/spec/{my_rack_app.rb → support/my_rack_app.rb} +0 -0
- data/spec/{network_connection.rb → support/network_connection.rb} +0 -0
- data/spec/{errors_spec.rb → unit/errors_spec.rb} +1 -1
- data/spec/{http_lib_adapters → unit/http_lib_adapters}/http_lib_adapter_registry_spec.rb +1 -1
- data/spec/{http_lib_adapters → unit/http_lib_adapters}/http_lib_adapter_spec.rb +1 -1
- data/spec/{rack_response_spec.rb → unit/rack_response_spec.rb} +1 -1
- data/spec/{request_execution_verifier_spec.rb → unit/request_execution_verifier_spec.rb} +1 -1
- data/spec/{request_pattern_spec.rb → unit/request_pattern_spec.rb} +1 -1
- data/spec/{request_registry_spec.rb → unit/request_registry_spec.rb} +1 -1
- data/spec/{request_signature_spec.rb → unit/request_signature_spec.rb} +1 -1
- data/spec/{request_stub_spec.rb → unit/request_stub_spec.rb} +1 -1
- data/spec/{response_spec.rb → unit/response_spec.rb} +4 -4
- data/spec/{stub_registry_spec.rb → unit/stub_registry_spec.rb} +1 -1
- data/spec/{stub_request_snippet_spec.rb → unit/stub_request_snippet_spec.rb} +1 -1
- data/spec/{util → unit/util}/hash_counter_spec.rb +1 -1
- data/spec/{util → unit/util}/hash_keys_stringifier_spec.rb +1 -1
- data/spec/{util → unit/util}/headers_spec.rb +1 -1
- data/spec/{util → unit/util}/json_spec.rb +1 -1
- data/spec/{util → unit/util}/uri_spec.rb +1 -1
- data/spec/{webmock_spec.rb → unit/webmock_spec.rb} +1 -1
- data/webmock.gemspec +1 -1
- metadata +111 -116
- data/spec/httpclient_spec.rb +0 -43
- data/spec/vendor/addressable/lib/addressable/uri.rb +0 -8
- data/spec/vendor/addressable/lib/uri.rb +0 -1
- data/spec/vendor/crack/lib/crack.rb +0 -1
- data/spec/vendor/right_http_connection-1.2.4/History.txt +0 -59
- data/spec/vendor/right_http_connection-1.2.4/Manifest.txt +0 -7
- data/spec/vendor/right_http_connection-1.2.4/README.txt +0 -54
- data/spec/vendor/right_http_connection-1.2.4/Rakefile +0 -103
- data/spec/vendor/right_http_connection-1.2.4/lib/net_fix.rb +0 -160
- data/spec/vendor/right_http_connection-1.2.4/lib/right_http_connection.rb +0 -435
- data/spec/vendor/right_http_connection-1.2.4/setup.rb +0 -1585
- data/spec/webmock_shared.rb +0 -1770
@@ -1,13 +1,13 @@
|
|
1
|
-
require
|
2
|
-
require 'webmock_shared'
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'acceptance/webmock_shared'
|
3
3
|
|
4
4
|
unless RUBY_PLATFORM =~ /java/
|
5
|
-
require 'typhoeus_hydra_spec_helper'
|
5
|
+
require 'acceptance/typhoeus/typhoeus_hydra_spec_helper'
|
6
6
|
|
7
|
-
describe "
|
7
|
+
describe "Typhoeus::Hydra" do
|
8
8
|
include TyphoeusHydraSpecHelper
|
9
9
|
|
10
|
-
|
10
|
+
include_context "with WebMock"
|
11
11
|
|
12
12
|
describe "Typhoeus::Hydra features" do
|
13
13
|
before(:each) do
|
data/spec/{typhoeus_hydra_spec_helper.rb → acceptance/typhoeus/typhoeus_hydra_spec_helper.rb}
RENAMED
File without changes
|
@@ -0,0 +1,38 @@
|
|
1
|
+
require 'spec_helper'
|
2
|
+
require 'acceptance/shared/enabling_and_disabling_webmock'
|
3
|
+
require 'acceptance/shared/returning_declared_responses'
|
4
|
+
require 'acceptance/shared/callbacks'
|
5
|
+
require 'acceptance/shared/request_expectations'
|
6
|
+
require 'acceptance/shared/stubbing_requests'
|
7
|
+
require 'acceptance/shared/allowing_and_disabling_net_connect'
|
8
|
+
require 'acceptance/shared/precedence_of_stubs'
|
9
|
+
|
10
|
+
unless defined? SAMPLE_HEADERS
|
11
|
+
SAMPLE_HEADERS = { "Content-Length" => "8888", "Accept" => "application/json" }
|
12
|
+
ESCAPED_PARAMS = "x=ab%20c&z=%27Stop%21%27%20said%20Fred"
|
13
|
+
NOT_ESCAPED_PARAMS = "z='Stop!' said Fred&x=ab c"
|
14
|
+
end
|
15
|
+
|
16
|
+
shared_examples "with WebMock" do
|
17
|
+
describe "with WebMock" do
|
18
|
+
let(:webmock_server_url) {"http://#{WebMockServer.instance.host_with_port}/"}
|
19
|
+
before(:each) do
|
20
|
+
WebMock.disable_net_connect!
|
21
|
+
WebMock.reset!
|
22
|
+
end
|
23
|
+
|
24
|
+
include_context "allowing and disabling net connect"
|
25
|
+
|
26
|
+
include_context "stubbing requests"
|
27
|
+
|
28
|
+
include_context "declared responses"
|
29
|
+
|
30
|
+
include_context "precedence of stubs"
|
31
|
+
|
32
|
+
include_context "request expectations"
|
33
|
+
|
34
|
+
include_context "callbacks"
|
35
|
+
|
36
|
+
include_context "enabled and disabled webmock"
|
37
|
+
end
|
38
|
+
end
|
data/spec/spec_helper.rb
CHANGED
@@ -13,9 +13,11 @@ require 'rspec'
|
|
13
13
|
|
14
14
|
require 'webmock/rspec'
|
15
15
|
|
16
|
-
require 'network_connection'
|
16
|
+
require 'support/network_connection'
|
17
17
|
require 'support/webmock_server'
|
18
|
-
require 'my_rack_app'
|
18
|
+
require 'support/my_rack_app'
|
19
|
+
|
20
|
+
CURL_EXAMPLE_OUTPUT_PATH = File.expand_path(File.dirname(__FILE__)) + "/support/example_curl_output.txt" unless defined? CURL_EXAMPLE_OUTPUT_PATH
|
19
21
|
|
20
22
|
RSpec.configure do |config|
|
21
23
|
unless NetworkConnection.is_network_available?
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require
|
1
|
+
require 'spec_helper'
|
2
2
|
|
3
3
|
describe WebMock::ResponseFactory do
|
4
4
|
|
@@ -126,7 +126,7 @@ describe WebMock::Response do
|
|
126
126
|
|
127
127
|
describe "when input is IO" do
|
128
128
|
before(:each) do
|
129
|
-
@file = File.new(
|
129
|
+
@file = File.new(CURL_EXAMPLE_OUTPUT_PATH)
|
130
130
|
@response = WebMock::Response.new(@file)
|
131
131
|
end
|
132
132
|
|
@@ -157,7 +157,7 @@ describe WebMock::Response do
|
|
157
157
|
|
158
158
|
describe "when input is String" do
|
159
159
|
before(:each) do
|
160
|
-
@input = File.new(
|
160
|
+
@input = File.new(CURL_EXAMPLE_OUTPUT_PATH).read
|
161
161
|
@response = WebMock::Response.new(@input)
|
162
162
|
end
|
163
163
|
|
@@ -241,7 +241,7 @@ describe WebMock::Response do
|
|
241
241
|
describe "when raw response is evaluated" do
|
242
242
|
before(:each) do
|
243
243
|
@files = {
|
244
|
-
"www.example.com" => File.new(
|
244
|
+
"www.example.com" => File.new(CURL_EXAMPLE_OUTPUT_PATH)
|
245
245
|
}
|
246
246
|
@request_signature = WebMock::RequestSignature.new(:get, "www.example.com")
|
247
247
|
end
|
data/webmock.gemspec
CHANGED
@@ -19,7 +19,7 @@ Gem::Specification.new do |s|
|
|
19
19
|
|
20
20
|
s.add_development_dependency 'rspec', '>= 2.0.0'
|
21
21
|
s.add_development_dependency 'httpclient', '>= 2.1.5.2'
|
22
|
-
s.add_development_dependency 'patron', '>= 0.4.
|
22
|
+
s.add_development_dependency 'patron', '>= 0.4.15'
|
23
23
|
s.add_development_dependency 'em-http-request', '~> 0.3.0'
|
24
24
|
s.add_development_dependency 'curb', '>= 0.7.8'
|
25
25
|
s.add_development_dependency 'typhoeus', '>= 0.2.4'
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: webmock
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.6
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,11 +9,11 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2011-
|
12
|
+
date: 2011-09-03 00:00:00.000000000Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
16
|
-
requirement: &
|
16
|
+
requirement: &2160890160 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
@@ -24,10 +24,10 @@ dependencies:
|
|
24
24
|
version: 2.2.5
|
25
25
|
type: :runtime
|
26
26
|
prerelease: false
|
27
|
-
version_requirements: *
|
27
|
+
version_requirements: *2160890160
|
28
28
|
- !ruby/object:Gem::Dependency
|
29
29
|
name: crack
|
30
|
-
requirement: &
|
30
|
+
requirement: &2160889400 !ruby/object:Gem::Requirement
|
31
31
|
none: false
|
32
32
|
requirements:
|
33
33
|
- - ! '>='
|
@@ -35,10 +35,10 @@ dependencies:
|
|
35
35
|
version: 0.1.7
|
36
36
|
type: :runtime
|
37
37
|
prerelease: false
|
38
|
-
version_requirements: *
|
38
|
+
version_requirements: *2160889400
|
39
39
|
- !ruby/object:Gem::Dependency
|
40
40
|
name: rspec
|
41
|
-
requirement: &
|
41
|
+
requirement: &2160888940 !ruby/object:Gem::Requirement
|
42
42
|
none: false
|
43
43
|
requirements:
|
44
44
|
- - ! '>='
|
@@ -46,10 +46,10 @@ dependencies:
|
|
46
46
|
version: 2.0.0
|
47
47
|
type: :development
|
48
48
|
prerelease: false
|
49
|
-
version_requirements: *
|
49
|
+
version_requirements: *2160888940
|
50
50
|
- !ruby/object:Gem::Dependency
|
51
51
|
name: httpclient
|
52
|
-
requirement: &
|
52
|
+
requirement: &2160888480 !ruby/object:Gem::Requirement
|
53
53
|
none: false
|
54
54
|
requirements:
|
55
55
|
- - ! '>='
|
@@ -57,21 +57,21 @@ dependencies:
|
|
57
57
|
version: 2.1.5.2
|
58
58
|
type: :development
|
59
59
|
prerelease: false
|
60
|
-
version_requirements: *
|
60
|
+
version_requirements: *2160888480
|
61
61
|
- !ruby/object:Gem::Dependency
|
62
62
|
name: patron
|
63
|
-
requirement: &
|
63
|
+
requirement: &2160888020 !ruby/object:Gem::Requirement
|
64
64
|
none: false
|
65
65
|
requirements:
|
66
66
|
- - ! '>='
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 0.4.
|
68
|
+
version: 0.4.15
|
69
69
|
type: :development
|
70
70
|
prerelease: false
|
71
|
-
version_requirements: *
|
71
|
+
version_requirements: *2160888020
|
72
72
|
- !ruby/object:Gem::Dependency
|
73
73
|
name: em-http-request
|
74
|
-
requirement: &
|
74
|
+
requirement: &2160887560 !ruby/object:Gem::Requirement
|
75
75
|
none: false
|
76
76
|
requirements:
|
77
77
|
- - ~>
|
@@ -79,10 +79,10 @@ dependencies:
|
|
79
79
|
version: 0.3.0
|
80
80
|
type: :development
|
81
81
|
prerelease: false
|
82
|
-
version_requirements: *
|
82
|
+
version_requirements: *2160887560
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
84
|
name: curb
|
85
|
-
requirement: &
|
85
|
+
requirement: &2160887100 !ruby/object:Gem::Requirement
|
86
86
|
none: false
|
87
87
|
requirements:
|
88
88
|
- - ! '>='
|
@@ -90,10 +90,10 @@ dependencies:
|
|
90
90
|
version: 0.7.8
|
91
91
|
type: :development
|
92
92
|
prerelease: false
|
93
|
-
version_requirements: *
|
93
|
+
version_requirements: *2160887100
|
94
94
|
- !ruby/object:Gem::Dependency
|
95
95
|
name: typhoeus
|
96
|
-
requirement: &
|
96
|
+
requirement: &2160878960 !ruby/object:Gem::Requirement
|
97
97
|
none: false
|
98
98
|
requirements:
|
99
99
|
- - ! '>='
|
@@ -101,10 +101,10 @@ dependencies:
|
|
101
101
|
version: 0.2.4
|
102
102
|
type: :development
|
103
103
|
prerelease: false
|
104
|
-
version_requirements: *
|
104
|
+
version_requirements: *2160878960
|
105
105
|
- !ruby/object:Gem::Dependency
|
106
106
|
name: minitest
|
107
|
-
requirement: &
|
107
|
+
requirement: &2160878500 !ruby/object:Gem::Requirement
|
108
108
|
none: false
|
109
109
|
requirements:
|
110
110
|
- - ! '>='
|
@@ -112,10 +112,10 @@ dependencies:
|
|
112
112
|
version: 2.2.2
|
113
113
|
type: :development
|
114
114
|
prerelease: false
|
115
|
-
version_requirements: *
|
115
|
+
version_requirements: *2160878500
|
116
116
|
- !ruby/object:Gem::Dependency
|
117
117
|
name: rdoc
|
118
|
-
requirement: &
|
118
|
+
requirement: &2160878020 !ruby/object:Gem::Requirement
|
119
119
|
none: false
|
120
120
|
requirements:
|
121
121
|
- - ! '>'
|
@@ -123,7 +123,7 @@ dependencies:
|
|
123
123
|
version: 3.5.0
|
124
124
|
type: :development
|
125
125
|
prerelease: false
|
126
|
-
version_requirements: *
|
126
|
+
version_requirements: *2160878020
|
127
127
|
description: WebMock allows stubbing HTTP requests and setting expectations on HTTP
|
128
128
|
requests.
|
129
129
|
email:
|
@@ -134,6 +134,7 @@ extra_rdoc_files: []
|
|
134
134
|
files:
|
135
135
|
- .gemtest
|
136
136
|
- .gitignore
|
137
|
+
- .rspec-tm
|
137
138
|
- .rvmrc
|
138
139
|
- .travis.yml
|
139
140
|
- CHANGELOG.md
|
@@ -187,55 +188,52 @@ files:
|
|
187
188
|
- minitest/test_helper.rb
|
188
189
|
- minitest/test_webmock.rb
|
189
190
|
- minitest/webmock_spec.rb
|
190
|
-
- spec/curb_spec.rb
|
191
|
-
- spec/curb_spec_helper.rb
|
192
|
-
- spec/em_http_request_spec.rb
|
193
|
-
- spec/em_http_request_spec_helper.rb
|
194
|
-
- spec/
|
195
|
-
- spec/
|
196
|
-
- spec/
|
197
|
-
- spec/
|
198
|
-
- spec/
|
199
|
-
- spec/
|
200
|
-
- spec/
|
201
|
-
- spec/
|
202
|
-
- spec/
|
203
|
-
- spec/
|
204
|
-
- spec/
|
205
|
-
- spec/
|
206
|
-
- spec/
|
191
|
+
- spec/acceptance/curb/curb_spec.rb
|
192
|
+
- spec/acceptance/curb/curb_spec_helper.rb
|
193
|
+
- spec/acceptance/em_http_request/em_http_request_spec.rb
|
194
|
+
- spec/acceptance/em_http_request/em_http_request_spec_helper.rb
|
195
|
+
- spec/acceptance/httpclient/httpclient_spec.rb
|
196
|
+
- spec/acceptance/httpclient/httpclient_spec_helper.rb
|
197
|
+
- spec/acceptance/net_http/net_http_shared.rb
|
198
|
+
- spec/acceptance/net_http/net_http_spec.rb
|
199
|
+
- spec/acceptance/net_http/net_http_spec_helper.rb
|
200
|
+
- spec/acceptance/net_http/real_net_http_spec.rb
|
201
|
+
- spec/acceptance/patron/patron_spec.rb
|
202
|
+
- spec/acceptance/patron/patron_spec_helper.rb
|
203
|
+
- spec/acceptance/shared/allowing_and_disabling_net_connect.rb
|
204
|
+
- spec/acceptance/shared/callbacks.rb
|
205
|
+
- spec/acceptance/shared/enabling_and_disabling_webmock.rb
|
206
|
+
- spec/acceptance/shared/precedence_of_stubs.rb
|
207
|
+
- spec/acceptance/shared/request_expectations.rb
|
208
|
+
- spec/acceptance/shared/returning_declared_responses.rb
|
209
|
+
- spec/acceptance/shared/stubbing_requests.rb
|
210
|
+
- spec/acceptance/typhoeus/typhoeus_hydra_spec.rb
|
211
|
+
- spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb
|
212
|
+
- spec/acceptance/webmock_shared.rb
|
207
213
|
- spec/quality_spec.rb
|
208
|
-
- spec/rack_response_spec.rb
|
209
|
-
- spec/real_net_http_spec.rb
|
210
|
-
- spec/request_execution_verifier_spec.rb
|
211
|
-
- spec/request_pattern_spec.rb
|
212
|
-
- spec/request_registry_spec.rb
|
213
|
-
- spec/request_signature_spec.rb
|
214
|
-
- spec/request_stub_spec.rb
|
215
|
-
- spec/response_spec.rb
|
216
214
|
- spec/spec_helper.rb
|
217
|
-
- spec/
|
218
|
-
- spec/
|
215
|
+
- spec/support/example_curl_output.txt
|
216
|
+
- spec/support/my_rack_app.rb
|
217
|
+
- spec/support/network_connection.rb
|
219
218
|
- spec/support/webmock_server.rb
|
220
|
-
- spec/
|
221
|
-
- spec/
|
222
|
-
- spec/
|
223
|
-
- spec/
|
224
|
-
- spec/
|
225
|
-
- spec/
|
226
|
-
- spec/
|
227
|
-
- spec/
|
228
|
-
- spec/
|
229
|
-
- spec/
|
230
|
-
- spec/
|
231
|
-
- spec/
|
232
|
-
- spec/
|
233
|
-
- spec/
|
234
|
-
- spec/
|
235
|
-
- spec/
|
236
|
-
- spec/
|
237
|
-
- spec/
|
238
|
-
- spec/webmock_spec.rb
|
219
|
+
- spec/unit/errors_spec.rb
|
220
|
+
- spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb
|
221
|
+
- spec/unit/http_lib_adapters/http_lib_adapter_spec.rb
|
222
|
+
- spec/unit/rack_response_spec.rb
|
223
|
+
- spec/unit/request_execution_verifier_spec.rb
|
224
|
+
- spec/unit/request_pattern_spec.rb
|
225
|
+
- spec/unit/request_registry_spec.rb
|
226
|
+
- spec/unit/request_signature_spec.rb
|
227
|
+
- spec/unit/request_stub_spec.rb
|
228
|
+
- spec/unit/response_spec.rb
|
229
|
+
- spec/unit/stub_registry_spec.rb
|
230
|
+
- spec/unit/stub_request_snippet_spec.rb
|
231
|
+
- spec/unit/util/hash_counter_spec.rb
|
232
|
+
- spec/unit/util/hash_keys_stringifier_spec.rb
|
233
|
+
- spec/unit/util/headers_spec.rb
|
234
|
+
- spec/unit/util/json_spec.rb
|
235
|
+
- spec/unit/util/uri_spec.rb
|
236
|
+
- spec/unit/webmock_spec.rb
|
239
237
|
- test/http_request.rb
|
240
238
|
- test/shared_test.rb
|
241
239
|
- test/test_helper.rb
|
@@ -261,60 +259,57 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
261
259
|
version: '0'
|
262
260
|
requirements: []
|
263
261
|
rubyforge_project: webmock
|
264
|
-
rubygems_version: 1.8.
|
262
|
+
rubygems_version: 1.8.10
|
265
263
|
signing_key:
|
266
264
|
specification_version: 3
|
267
265
|
summary: Library for stubbing HTTP requests in Ruby.
|
268
266
|
test_files:
|
269
|
-
- spec/curb_spec.rb
|
270
|
-
- spec/curb_spec_helper.rb
|
271
|
-
- spec/em_http_request_spec.rb
|
272
|
-
- spec/em_http_request_spec_helper.rb
|
273
|
-
- spec/
|
274
|
-
- spec/
|
275
|
-
- spec/
|
276
|
-
- spec/
|
277
|
-
- spec/
|
278
|
-
- spec/
|
279
|
-
- spec/
|
280
|
-
- spec/
|
281
|
-
- spec/
|
282
|
-
- spec/
|
283
|
-
- spec/
|
284
|
-
- spec/
|
285
|
-
- spec/
|
267
|
+
- spec/acceptance/curb/curb_spec.rb
|
268
|
+
- spec/acceptance/curb/curb_spec_helper.rb
|
269
|
+
- spec/acceptance/em_http_request/em_http_request_spec.rb
|
270
|
+
- spec/acceptance/em_http_request/em_http_request_spec_helper.rb
|
271
|
+
- spec/acceptance/httpclient/httpclient_spec.rb
|
272
|
+
- spec/acceptance/httpclient/httpclient_spec_helper.rb
|
273
|
+
- spec/acceptance/net_http/net_http_shared.rb
|
274
|
+
- spec/acceptance/net_http/net_http_spec.rb
|
275
|
+
- spec/acceptance/net_http/net_http_spec_helper.rb
|
276
|
+
- spec/acceptance/net_http/real_net_http_spec.rb
|
277
|
+
- spec/acceptance/patron/patron_spec.rb
|
278
|
+
- spec/acceptance/patron/patron_spec_helper.rb
|
279
|
+
- spec/acceptance/shared/allowing_and_disabling_net_connect.rb
|
280
|
+
- spec/acceptance/shared/callbacks.rb
|
281
|
+
- spec/acceptance/shared/enabling_and_disabling_webmock.rb
|
282
|
+
- spec/acceptance/shared/precedence_of_stubs.rb
|
283
|
+
- spec/acceptance/shared/request_expectations.rb
|
284
|
+
- spec/acceptance/shared/returning_declared_responses.rb
|
285
|
+
- spec/acceptance/shared/stubbing_requests.rb
|
286
|
+
- spec/acceptance/typhoeus/typhoeus_hydra_spec.rb
|
287
|
+
- spec/acceptance/typhoeus/typhoeus_hydra_spec_helper.rb
|
288
|
+
- spec/acceptance/webmock_shared.rb
|
286
289
|
- spec/quality_spec.rb
|
287
|
-
- spec/rack_response_spec.rb
|
288
|
-
- spec/real_net_http_spec.rb
|
289
|
-
- spec/request_execution_verifier_spec.rb
|
290
|
-
- spec/request_pattern_spec.rb
|
291
|
-
- spec/request_registry_spec.rb
|
292
|
-
- spec/request_signature_spec.rb
|
293
|
-
- spec/request_stub_spec.rb
|
294
|
-
- spec/response_spec.rb
|
295
290
|
- spec/spec_helper.rb
|
296
|
-
- spec/
|
297
|
-
- spec/
|
291
|
+
- spec/support/example_curl_output.txt
|
292
|
+
- spec/support/my_rack_app.rb
|
293
|
+
- spec/support/network_connection.rb
|
298
294
|
- spec/support/webmock_server.rb
|
299
|
-
- spec/
|
300
|
-
- spec/
|
301
|
-
- spec/
|
302
|
-
- spec/
|
303
|
-
- spec/
|
304
|
-
- spec/
|
305
|
-
- spec/
|
306
|
-
- spec/
|
307
|
-
- spec/
|
308
|
-
- spec/
|
309
|
-
- spec/
|
310
|
-
- spec/
|
311
|
-
- spec/
|
312
|
-
- spec/
|
313
|
-
- spec/
|
314
|
-
- spec/
|
315
|
-
- spec/
|
316
|
-
- spec/
|
317
|
-
- spec/webmock_spec.rb
|
295
|
+
- spec/unit/errors_spec.rb
|
296
|
+
- spec/unit/http_lib_adapters/http_lib_adapter_registry_spec.rb
|
297
|
+
- spec/unit/http_lib_adapters/http_lib_adapter_spec.rb
|
298
|
+
- spec/unit/rack_response_spec.rb
|
299
|
+
- spec/unit/request_execution_verifier_spec.rb
|
300
|
+
- spec/unit/request_pattern_spec.rb
|
301
|
+
- spec/unit/request_registry_spec.rb
|
302
|
+
- spec/unit/request_signature_spec.rb
|
303
|
+
- spec/unit/request_stub_spec.rb
|
304
|
+
- spec/unit/response_spec.rb
|
305
|
+
- spec/unit/stub_registry_spec.rb
|
306
|
+
- spec/unit/stub_request_snippet_spec.rb
|
307
|
+
- spec/unit/util/hash_counter_spec.rb
|
308
|
+
- spec/unit/util/hash_keys_stringifier_spec.rb
|
309
|
+
- spec/unit/util/headers_spec.rb
|
310
|
+
- spec/unit/util/json_spec.rb
|
311
|
+
- spec/unit/util/uri_spec.rb
|
312
|
+
- spec/unit/webmock_spec.rb
|
318
313
|
- test/http_request.rb
|
319
314
|
- test/shared_test.rb
|
320
315
|
- test/test_helper.rb
|