* Package: dev-ruby/webmock-1.7.4  * Repository: gentoo  * Maintainer: ruby@gentoo.org  * USE: amd64 elibc_glibc kernel_linux multilib ruby_targets_ruby18 test userland_GNU  * FEATURES: fakeroot preserve-libs sandbox test userpriv usersandbox >>> cfg-update-1.8.2-r1: Checksum index is up-to-date ... >>> Unpacking source... * Running unpack phase for all ... * Unpacking .gem file... ...  [ ok ] * Uncompressing metadata ...  [ ok ] * Unpacking data.tar.gz ...  [ ok ] >>> Source unpacked in /var/tmp/portage/dev-ruby/webmock-1.7.4/work >>> Preparing source in /var/tmp/portage/dev-ruby/webmock-1.7.4/work ... * Running prepare phase for all ... * Running source copy phase for ruby18 ... >>> Source prepared. >>> Configuring source in /var/tmp/portage/dev-ruby/webmock-1.7.4/work ... >>> Source configured. >>> Compiling source in /var/tmp/portage/dev-ruby/webmock-1.7.4/work ... * Running compile phase for all ... >>> Source compiled. * Running test phase for ruby18 ... Loaded suite /usr/lib64/ruby/gems/1.8/gems/rake-0.9.2.2/lib/rake/rake_test_loader Started ..... Finished in 0.027585 seconds. 5 tests, 6 assertions, 0 failures, 0 errors /usr/bin/ruby18 -S rspec -c -f progress -r ./spec/spec_helper.rb spec/real_net_http_spec.rb spec/rack_response_spec.rb spec/stub_registry_spec.rb spec/request_stub_spec.rb spec/http_lib_adapters/http_lib_adapter_spec.rb spec/http_lib_adapters/http_lib_adapter_registry_spec.rb spec/request_signature_spec.rb spec/patron_spec.rb spec/stub_request_snippet_spec.rb spec/request_execution_verifier_spec.rb spec/net_http_spec.rb spec/errors_spec.rb spec/httpclient_spec.rb spec/request_registry_spec.rb spec/response_spec.rb spec/request_pattern_spec.rb spec/webmock_spec.rb spec/util/json_spec.rb spec/util/hash_counter_spec.rb spec/util/headers_spec.rb spec/util/hash_keys_stringifier_spec.rb spec/util/uri_spec.rb spec/em_http_request_spec.rb spec/quality_spec.rb ***************************************************************** DEPRECATION WARNING: you are using deprecated behaviour that will be removed from RSpec 3. You have set some configuration options after an example group has already been defined. In RSpec 3, this will not be allowed. All configuration should happen before the first example group is defined. The configuration is happening at: /var/tmp/portage/dev-ruby/webmock-1.7.4/work/ruby18/webmock-1.7.4/spec/spec_helper.rb:18 ***************************************************************** ***************************************************************** DEPRECATION WARNING: you are using deprecated behaviour that will be removed from RSpec 3. You have set some configuration options after an example group has already been defined. In RSpec 3, this will not be allowed. All configuration should happen before the first example group is defined. The configuration is happening at: /var/tmp/portage/dev-ruby/webmock-1.7.4/work/ruby18/webmock-1.7.4/spec/spec_helper.rb:18 ***************************************************************** No examples matched {:focus=>true}. Running all. Run filtered excluding {:net_connect=>true, :without_webmock=>true} .......................................................FF.F....F.F..FFFFFFFFFF.F.FF.FFFFFFFFF..FF.F.F...F.F...F.FFFFFFFFFF.FFFFFFFFFFFFFFFFFFFFFFFFFF.FFFFFF.FF.FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF.FFFFFFFFF......F...F.....FF.FF........F..................................F.F.......FF.......................................................................................................F.F..FFF....................................................................................F.F.......FF.......................................................................................................F.F..FFF...........................................................................F.F.......FF.......................................................................................................F.F..FFF.....................................................................................................................................F.F...........FF..F...............................................................F.F.......FF.......................................................................................................F.F..FFF.............................................................fatal: Not a git repository (or any of the parent directories): .git .fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git fatal: Not a git repository (or any of the parent directories): .git . Failures: 1) Webmock with Patron it should behave like WebMock when web connect is not allowed should return stubbed response if request was stubbed Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:49 2) Webmock with Patron it should behave like WebMock when web connect is not allowed should return stubbed response if request with path was stubbed Failure/Error: http_request(:get, "http://www.example.com/hello_world").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:54 3) Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for localhost should return stubbed response if request was stubbed Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:71 4) Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for allowed domains when the host is not allowed should return stubbed response if request was stubbed Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:109 5) Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for allowed domains when the host with port is not allowed should return stubbed response if request was stubbed Failure/Error: http_request(:get, "http://localhost:2345/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:122 6) Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by uri with non escaped params if request have escaped parameters Failure/Error: http_request(:get, "http://www.example.com/hello/?#{ESCAPED_PARAMS}").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:166 7) Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by uri with escaped parameters even if request has non escaped params Failure/Error: http_request(:get, "http://www.example.com/hello/?#{NOT_ESCAPED_PARAMS}").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:171 8) Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by regexp matching non escaped params uri if request params are escaped Failure/Error: http_request(:get, "http://www.example.com/hello/?#{ESCAPED_PARAMS}").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:176 9) Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c with headers {'Expect'=>''}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c").  with(:headers => {'Expect'=>''}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c")  ============================================================ Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:43:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:185 10) Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query declared as a string Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:190 11) Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option Failure/Error: http_request(:get, "http://www.example.com/?x=3&a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c&x=3 with headers {'Expect'=>''}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c&x=3").  with(:headers => {'Expect'=>''}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c&x=3")  ============================================================ Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:43:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:195 12) Webmock with Patron it should behave like WebMock when matching requests on method should match the request by method if registered Failure/Error: http_request(:get, "http://www.example.com/").status.should == "200" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:204 13) Webmock with Patron it should behave like WebMock when matching requests on method should not match requests if method is different Failure/Error: http_request(:get, "http://www.example.com/").status.should == "200" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:209 14) Webmock with Patron it should behave like WebMock when matching requests on body should match requests if body is the same Failure/Error: :post, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:223 15) Webmock with Patron it should behave like WebMock when matching requests on body should match requests if body is not set in the stub Failure/Error: :post, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:230 16) Webmock with Patron it should behave like WebMock when matching requests on body with regular expressions should match requests if body matches regexp Failure/Error: :post, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:246 17) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Expect'=>''}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&c[d][]=f&b=five",  :headers => {'Expect'=>''}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:43:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:269 18) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Expect'=>''}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&b=five&c[d][]=f",  :headers => {'Expect'=>''}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:43:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:275 19) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash matches body Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/json'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:294 20) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash matches body in different form Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/json'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:300 21) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash contains date string Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/json'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:309 22) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash matches body Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/xml'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:323 23) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash matches body in different form Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/xml'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:329 24) Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash contains date string Failure/Error: :post, "http://www.example.com/", :headers => {'Content-Type' => 'application/xml'}, ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:338 25) Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if headers are the same Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:353 26) Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if headers are the same and declared as array Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:360 27) Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if request headers are not stubbed Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:395 28) Webmock with Patron it should behave like WebMock when matching requests on headers when multiple headers with the same key are used should match requests if headers are the same Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:369 29) Webmock with Patron it should behave like WebMock when matching requests on headers when multiple headers with the same key are used should match requests if headers are the same but in different order Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:376 30) Webmock with Patron it should behave like WebMock when matching requests on headers with regular expressions should match requests if header values match regular expression Failure/Error: :get, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:424 31) Webmock with Patron it should behave like WebMock when matching requests with basic authentication should match if credentials are the same Failure/Error: http_request(:get, "http://user:pass@www.example.com/").status.should == "200" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:445 32) Webmock with Patron it should behave like WebMock when matching requests with block should match if block returns true Failure/Error: http_request(:get, "http://www.example.com/").status.should == "200" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:475 33) Webmock with Patron it should behave like WebMock when matching requests with block should pass the request to the block Failure/Error: :post, "http://www.example.com/", ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:488 34) Webmock with Patron it should behave like WebMock raising stubbed exceptions should raise exception if declared in a stubbed response after returning declared response Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:524 35) Webmock with Patron it should behave like WebMock raising timeout errors should raise exception if declared in a stubbed response after returning declared response Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:544 36) Webmock with Patron it should behave like WebMock returning stubbed responses should return declared body Failure/Error: http_request(:get, "http://www.example.com/").body.should == "abc" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:556 37) Webmock with Patron it should behave like WebMock returning stubbed responses should return declared headers Failure/Error: response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:561 38) Webmock with Patron it should behave like WebMock returning stubbed responses should return declared headers when there are multiple headers with the same key Failure/Error: response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:567 39) Webmock with Patron it should behave like WebMock returning stubbed responses should return declared status code Failure/Error: http_request(:get, "http://www.example.com/").status.should == "500" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:573 40) Webmock with Patron it should behave like WebMock returning stubbed responses should return declared status message Failure/Error: response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:578 41) Webmock with Patron it should behave like WebMock returning stubbed responses should return default status code Failure/Error: http_request(:get, "http://www.example.com/").status.should == "200" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:587 42) Webmock with Patron it should behave like WebMock returning stubbed responses should return default empty message Failure/Error: response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:592 43) Webmock with Patron it should behave like WebMock returning stubbed responses should return body declared as IO Failure/Error: http_request(:get, "http://www.example.com/").body.should == File.new(__FILE__).read ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:601 44) Webmock with Patron it should behave like WebMock returning stubbed responses should return body declared as IO if requested many times Failure/Error: http_request(:get, "http://www.example.com/").body.should == File.new(__FILE__).read ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:607  # ./spec/webmock_shared.rb:606:in `times'  # ./spec/webmock_shared.rb:606 45) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic response parts should return evaluated response body Failure/Error: http_request(:post, "http://www.example.com/", :body => "echo").body.should == "echo" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:620 46) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic response parts should return evaluated response headers Failure/Error: http_request(:post, "http://www.example.com/", :body => "abc", :headers => {'A' => 'B'}).headers['A'].should == 'B' ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:625 47) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should return evaluated response body Failure/Error: http_request(:post, "http://www.example.com/", :body => "echo").body.should == "echo" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:642 48) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should return evaluated response headers Failure/Error: http_request(:get, "http://www.example.com/", :headers => {'A' => 'B'}).headers['A'].should == 'B' ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:649 49) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should create dynamic responses from blocks Failure/Error: http_request(:post, "http://www.example.com/", :body => "echo").body.should == "echo" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:656 50) Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should create dynamic responses from objects responding to call Failure/Error: http_request(:post, "http://www.example.com/", :body => "echo").body.should == "echo" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:661 51) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded headers Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:672 52) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded body Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:672 53) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded status Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:672 54) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded status message Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:672 55) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should ensure file is closed Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:672 56) Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded headers Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:711 57) Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded body Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:711 58) Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded status Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:711 59) Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded status message Failure/Error: @response = http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:711 60) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses evaluated dynamically should return response from evaluated file Failure/Error: http_request(:get, "http://www.example.com/").body.size.should == 419 ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:749 61) Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses evaluated dynamically should return response from evaluated string Failure/Error: http_request(:get, "http://www.example.com/").body.size.should == 419 ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:754 62) Webmock with Patron it should behave like WebMock returning stubbed responses rack responses should return response returned by rack app Failure/Error: http_request(:post, 'http://www.example.com/greet', :body => 'name=Jimmy').body.should == 'Good to meet you, Jimmy!' ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:764 63) Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared in array Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:771 64) Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should repeat returning last declared response from a sequence after all responses were returned Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:778 65) Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared as comma separated params Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:785 66) Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared with several to_return invokations Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:795 67) Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared with to_return invocations separated with then syntactic sugar Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:803 68) Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat one response declared number of times Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:816 69) Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat sequence of response declared number of times Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:826 70) Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat infinitely last response even if number of declared times is lower Failure/Error: http_request(:get, "http://www.example.com/").body.should == "1" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:837 71) Webmock with Patron it should behave like WebMock returning stubbed responses raising declared exceptions more than once should repeat raising exception declared number of times Failure/Error: http_request(:get, "http://www.example.com/").body.should == "2" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:862 72) Webmock with Patron it should behave like WebMock returning stubbed responses raising declared exceptions more than once should repeat raising sequence of exceptions declared number of times Failure/Error: http_request(:get, "http://www.example.com/").body.should == "2" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:881 73) Webmock with Patron it should behave like WebMock precedence of stubs should use the last declared matching request stub Failure/Error: http_request(:get, "http://www.example.com/").body.should == "def" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:891 74) Webmock with Patron it should behave like WebMock precedence of stubs should not be affected by the type of uri or request method Failure/Error: http_request(:get, "http://www.example.com/").body.should == "def" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:897 75) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with the same uri and method Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:913 76) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should accept verification as WebMock class method invocation Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:920 77) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was not expected but executed Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:933 78) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail with message with executed requests listed Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The following requests were made:\n\nGET http:\/\/www.example.com\/.+was made 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:940 79) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed to different uri Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.org\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:953 80) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different method Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:960 81) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:967 82) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri without port Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:974 83) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri with port Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:981 84) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different port Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com:90\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:988 85) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri with https port Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:995 86) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested more times than expected Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 1 time but it executed 2 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1060 87) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested less times than expected Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 2 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1068 88) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested less times than expected when 3 times expected Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 3 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1075 89) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same body Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1082 90) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different body Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with body "def" was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1089 91) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same headers Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1204 92) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same headers with value declared as array Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1212 93) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different headers Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with headers \{'Content-Length'=>'9999'\} was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1248 94) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with less headers Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with headers \{'A'=>'a', 'B'=>'b'\} was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1256 95) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with more headers Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1264 96) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with body and headers but they were not specified in expectantion Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1274 97) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with headers matching regular expressions Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1284 98) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with headers not matching regular expression Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with headers \{'Some-Header'=>\/\^MyAppName\$\/\} was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1292 99) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should suceed if request was executed and block evaluated to true Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1300 100) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed and block evaluated to false Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1307 101) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was not expected but it executed and block matched request Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1314 102) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with escaped params Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1009 103) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with non escaped params but escaped expected Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1016 104) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with escaped params but uri matichg regexp expected Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1023 105) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1037 106) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared as string in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1044 107) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1051 108) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as regexp should succeed if request was executed with the same body Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1099 109) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as regexp should fail if request was executed with different body Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with body \/\^xabc\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1106 110) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1122 111) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1129 112) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with body \{"a"=>"1", "b"=>"five", "c"=>\{"d"=>\["e", "f"\]\}\} was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1136 113) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1147 114) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed if json body is in different form Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1155 115) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed if json body contains date string Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1163 116) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1176 117) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed if xml body is in different form Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1184 118) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed if xml body contains date string Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1192 119) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should succeed if request was executed with the same headers Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1222 120) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should succeed if request was executed with the same headers but different order Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1230 121) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should fail if request was executed with different headers Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ with headers \{'A'=>\['b', 'd'\]\} was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1238 122) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should succeed if succeed if request was executed with expected credentials Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1327 123) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed with different credentials than expected Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/user:pazz@www.example.com\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1334 124) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed without credentials but credentials were expected Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/user:pass@www.example.com\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1341 125) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed with credentials but expected without Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1348 126) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should be order insensitive Failure/Error: http_request(:post, "http://www.example.com/", :body => "def") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1356 127) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify expected requests occured Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1367 128) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify expected requests occured Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1374 129) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify that non expected requests didn't occur Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1381 130) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should succeed if request was executed and block evaluated to true Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1388 131) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should fail if request was executed and block evaluated to false Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1395 132) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should fail if request was not expected but executed and block matched request Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1402 133) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify expected requests occured Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1414 134) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify expected requests occured Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1422 135) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify that non expected requests didn't occur Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1429 136) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if non expected request executed and block evaluated to true Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1436 137) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if request was executed and block evaluated to true Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1443 138) Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if request was executed and block evaluated to false Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1450 139) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify expected requests occured Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1463 140) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify subsequent requests Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1469 141) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify expected requests occured Failure/Error: http_request(:post, "http://www.example.com/", :body => "abc", :headers => {'A' => 'a'}) ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1477 142) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify that non expected requests didn't occur Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request GET http:\/\/www.example.com\/ was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1482 143) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if non expected request executed and block evaluated to true Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 0 times but it executed 1 time/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1490 144) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if request was executed and block evaluated to true Failure/Error: http_request(:post, "http://www.example.com/", :body => "wadus") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1499 145) Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if request was executed and block evaluated to false Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with given block was expected to execute 1 time but it executed 0 times/, got # Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/webmock_shared.rb:1504 146) Webmock with Patron it should behave like WebMock callbacks after_request should invoke a callback after request is made Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1555 147) Webmock with Patron it should behave like WebMock callbacks after_request should not invoke a callback if specific http library should be ignored Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1563 148) Webmock with Patron it should behave like WebMock callbacks after_request should invoke a callback even if other http libraries should be ignored Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1571 149) Webmock with Patron it should behave like WebMock callbacks after_request should pass request signature to the callback Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1579 150) Webmock with Patron it should behave like WebMock callbacks after_request should invoke multiple callbacks in order of their declarations Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1649 151) Webmock with Patron it should behave like WebMock callbacks after_request should clear all declared callbacks on reset callbacks Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1666 152) Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with status and message Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1596 153) Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with headers Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1596 154) Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with body Failure/Error: http_request(:get, "http://www.example.com/") ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "WebMock" called from ./spec/patron_spec.rb:12  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1596 155) Webmock with Patron it should behave like WebMock enabling and disabling webmock when webmock is enabled again it should behave like enabled WebMock should return stubbed response Failure/Error: http_request(:get, "http://www.example.com/").body.should == "x" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "enabled WebMock" called from ./spec/webmock_shared.rb:1688  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1758 156) Webmock with Patron it should behave like WebMock enabling and disabling webmock when webmock is disabled except this lib it should behave like enabled WebMock should return stubbed response Failure/Error: http_request(:get, "http://www.example.com/").body.should == "x" ArgumentError: wrong number of arguments (0 for 5) Shared Example Group: "enabled WebMock" called from ./spec/webmock_shared.rb:1698  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec_helper.rb:16:in `http_request'  # ./spec/webmock_shared.rb:1758 157) Webmock with Patron when custom functionality is used should work with WebDAV copy request Failure/Error: @sess.copy("/abc", "/def") ArgumentError: wrong number of arguments (0 for 5)  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec.rb:85 158) Webmock with Patron when custom functionality is used file requests should work with get_file Failure/Error: @sess.get_file("/", @file_path) ArgumentError: wrong number of arguments (0 for 5)  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec.rb:35 159) Webmock with Patron when custom functionality is used file requests should work with put_file Failure/Error: @sess.put_file("/", @file_path) ArgumentError: wrong number of arguments (0 for 5)  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec.rb:56 160) Webmock with Patron when custom functionality is used file requests should work with post_file Failure/Error: @sess.post_file("/", @file_path) ArgumentError: wrong number of arguments (0 for 5)  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `initialize'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `new'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:104:in `build_patron_response'  # ./spec/../lib/webmock/http_lib_adapters/patron_adapter.rb:27:in `handle_request'  # ./spec/patron_spec.rb:62 161) WebMock::StubRequestSnippet to_s POST should print stub request snippet with body as a hash using rails conventions on form posts Failure/Error: WebMock::StubRequestSnippet.new(@request_stub).to_s.should == expected.strip expected: "stub_request(:post, \"http://www.example.com/\").\n with(:body => {\"user\"=>{\"first_name\"=>\"Bartosz\"}},\n :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).\n to_return(:status => 200, :body => \"\", :headers => {})"  got: "stub_request(:post, \"http://www.example.com/\").\n with(:body => {\"user[first_name]\"=>\"Bartosz\"},\n :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).\n to_return(:status => 200, :body => \"\", :headers => {})" (using ==) Diff: @@ -1,5 +1,5 @@  stub_request(:post, "http://www.example.com/"). - with(:body => {"user"=>{"first_name"=>"Bartosz"}}, + with(:body => {"user[first_name]"=>"Bartosz"},  :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).  to_return(:status => 200, :body => "", :headers => {})  # ./spec/stub_request_snippet_spec.rb:75 162) Webmock with Net:HTTP it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c with headers {'Accept'=>'*/*'}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c").  with(:headers => {'Accept'=>'*/*'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c")  ============================================================ Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:100:in `request'  # ./spec/net_http_spec_helper.rb:30:in `http_request'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:111:in `start_without_connect'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:124:in `start'  # ./spec/net_http_spec_helper.rb:29:in `http_request'  # ./spec/webmock_shared.rb:185 163) Webmock with Net:HTTP it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option Failure/Error: http_request(:get, "http://www.example.com/?x=3&a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c&x=3 with headers {'Accept'=>'*/*'}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c&x=3").  with(:headers => {'Accept'=>'*/*'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c&x=3")  ============================================================ Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:100:in `request'  # ./spec/net_http_spec_helper.rb:30:in `http_request'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:111:in `start_without_connect'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:124:in `start'  # ./spec/net_http_spec_helper.rb:29:in `http_request'  # ./spec/webmock_shared.rb:195 164) Webmock with Net:HTTP it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Accept'=>'*/*'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&c[d][]=f&b=five",  :headers => {'Accept'=>'*/*'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:100:in `request'  # ./spec/net_http_spec_helper.rb:30:in `http_request'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:111:in `start_without_connect'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:124:in `start'  # ./spec/net_http_spec_helper.rb:29:in `http_request'  # ./spec/webmock_shared.rb:269 165) Webmock with Net:HTTP it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Accept'=>'*/*'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&b=five&c[d][]=f",  :headers => {'Accept'=>'*/*'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:100:in `request'  # ./spec/net_http_spec_helper.rb:30:in `http_request'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:111:in `start_without_connect'  # ./spec/../lib/webmock/http_lib_adapters/net_http.rb:124:in `start'  # ./spec/net_http_spec_helper.rb:29:in `http_request'  # ./spec/webmock_shared.rb:275 166) Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option Failure/Error: lambda { expected no Exception, got #'*/*'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/webmock_shared.rb:1037 167) Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option Failure/Error: lambda { expected no Exception, got #'*/*'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/webmock_shared.rb:1051 168) Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Accept'=>'*/*'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/webmock_shared.rb:1122 169) Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Accept'=>'*/*'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/webmock_shared.rb:1129 170) Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with body \{"a"=>"1", "b"=>"five", "c"=>\{"d"=>\["e", "f"\]\}\} was expected to execute 1 time but it executed 0 times/, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'c[d][]=f&a=1&c[d][]=e' with headers {'Accept'=>'*/*'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/net_http_spec.rb:10  # ./spec/webmock_shared.rb:1136 171) Webmock with HTTPClient it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c").  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c")  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:68:in `do_get_with_webmock'  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:33:in `do_get_block'  # ./spec/httpclient_spec_helper.rb:18:in `http_request'  # ./spec/webmock_shared.rb:185 172) Webmock with HTTPClient it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option Failure/Error: http_request(:get, "http://www.example.com/?x=3&a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c&x=3  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c&x=3").  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c&x=3")  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:68:in `do_get_with_webmock'  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:33:in `do_get_block'  # ./spec/httpclient_spec_helper.rb:18:in `http_request'  # ./spec/webmock_shared.rb:195 173) Webmock with HTTPClient it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Content-Type'=>'application/x-www-form-urlencoded'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => {"a"=>"1", "c[d][]"=>"f", "b"=>"five"},  :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:68:in `do_get_with_webmock'  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:33:in `do_get_block'  # ./spec/httpclient_spec_helper.rb:18:in `http_request'  # ./spec/webmock_shared.rb:269 174) Webmock with HTTPClient it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Content-Type'=>'application/x-www-form-urlencoded'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => {"a"=>"1", "c[d][]"=>"f", "b"=>"five"},  :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:68:in `do_get_with_webmock'  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:33:in `do_get_block'  # ./spec/httpclient_spec_helper.rb:18:in `http_request'  # ./spec/webmock_shared.rb:275 175) Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/webmock_shared.rb:1037 176) Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/webmock_shared.rb:1051 177) Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/webmock_shared.rb:1122 178) Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/webmock_shared.rb:1129 179) Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with body \{"a"=>"1", "b"=>"five", "c"=>\{"d"=>\["e", "f"\]\}\} was expected to execute 1 time but it executed 0 times/, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'c[d][]=f&a=1&c[d][]=e' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:14  # ./spec/webmock_shared.rb:1136 180) Webmock with HTTPClient async requests it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c").  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c")  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:80:in `do_request_async'  # ./spec/httpclient_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:185 181) Webmock with HTTPClient async requests it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option Failure/Error: http_request(:get, "http://www.example.com/?x=3&a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c&x=3  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c&x=3").  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c&x=3")  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:80:in `do_request_async'  # ./spec/httpclient_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:195 182) Webmock with HTTPClient async requests it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Content-Type'=>'application/x-www-form-urlencoded'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => {"a"=>"1", "c[d][]"=>"f", "b"=>"five"},  :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:80:in `do_request_async'  # ./spec/httpclient_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:269 183) Webmock with HTTPClient async requests it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Content-Type'=>'application/x-www-form-urlencoded'}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => {"a"=>"1", "c[d][]"=>"f", "b"=>"five"},  :headers => {'Content-Type'=>'application/x-www-form-urlencoded'}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/../lib/webmock/http_lib_adapters/httpclient_adapter.rb:80:in `do_request_async'  # ./spec/httpclient_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:275 184) Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/webmock_shared.rb:1037 185) Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option Failure/Error: lambda { expected no Exception, got # Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/webmock_shared.rb:1051 186) Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/webmock_shared.rb:1122 187) Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/webmock_shared.rb:1129 188) Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with body \{"a"=>"1", "b"=>"five", "c"=>\{"d"=>\["e", "f"\]\}\} was expected to execute 1 time but it executed 0 times/, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'c[d][]=f&a=1&c[d][]=e' with headers {'Content-Type'=>'application/x-www-form-urlencoded'} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/httpclient_spec.rb:39  # ./spec/webmock_shared.rb:1136 189) WebMock::RequestPattern when matching when matching requests on query params should match request query params even if uri is declared as regexp Failure/Error: WebMock::RequestPattern.new(:get, /.*example.*/, :query => {"a" => ["b", "c"]}). expected #["b", "c"]}, @pattern=/.*example.*/>, @method_pattern=#> to match #>  # ./spec/request_pattern_spec.rb:130 190) WebMock::RequestPattern when matching when matching requests on query params should match for query params are the same as declared in hash Failure/Error: WebMock::RequestPattern.new(:get, "www.example.com", :query => {"a" => ["b", "c"]}). expected #>, @method_pattern=#> to match #>  # ./spec/request_pattern_spec.rb:140 191) WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash matches body Failure/Error: WebMock::RequestPattern.new(:post, 'www.example.com', :body => body_hash). expected #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}}>, @uri_pattern=#>, @method_pattern=#> to match #>  # ./spec/request_pattern_spec.rb:208 192) WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash matches body in different order of params Failure/Error: WebMock::RequestPattern.new(:post, 'www.example.com', :body => body_hash). expected #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}}>, @uri_pattern=#>, @method_pattern=#> to match #>  # ./spec/request_pattern_spec.rb:213 193) WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash contains regex values Failure/Error: WebMock::RequestPattern.new(:post, "www.example.com", :body => {:a => /^\w{5}$/, :b => {:c => /^\d{3}$/}}). expected #{"c"=>/^\d{3}$/}, "a"=>/^\w{5}$/}>, @uri_pattern=#>, @method_pattern=#> to match #>  # ./spec/request_pattern_spec.rb:228 194) Webmock with EM::HttpRequest it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash Failure/Error: http_request(:get, "http://www.example.com/?a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c with headers {'Authorization'=>['', '']}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c").  with(:headers => {'Authorization'=>['', '']}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c")  ============================================================ Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb:76:in `send_request'  # ./spec/em_http_request_spec_helper.rb:21:in `send'  # ./spec/em_http_request_spec_helper.rb:21:in `http_request'  # ./spec/em_http_request_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:185 195) Webmock with EM::HttpRequest it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option Failure/Error: http_request(:get, "http://www.example.com/?x=3&a[]=b&a[]=c").body.should == "abc" WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: GET http://www.example.com/?a%5B%5D=c&x=3 with headers {'Authorization'=>['', '']}  You can stub this request with the following snippet:  stub_request(:get, "http://www.example.com/?a%5B%5D=c&x=3").  with(:headers => {'Authorization'=>['', '']}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:get, "http://www.example.com/?a=b&a=c&x=3")  ============================================================ Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb:76:in `send_request'  # ./spec/em_http_request_spec_helper.rb:21:in `send'  # ./spec/em_http_request_spec_helper.rb:21:in `http_request'  # ./spec/em_http_request_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:195 196) Webmock with EM::HttpRequest it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Authorization'=>['', '']}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&c[d][]=f&b=five",  :headers => {'Authorization'=>['', '']}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb:76:in `send_request'  # ./spec/em_http_request_spec_helper.rb:21:in `send'  # ./spec/em_http_request_spec_helper.rb:21:in `http_request'  # ./spec/em_http_request_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:269 197) Webmock with EM::HttpRequest it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params Failure/Error: :post, "http://www.example.com/", WebMock::NetConnectNotAllowedError: Real HTTP connections are disabled. Unregistered request: POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Authorization'=>['', '']}  You can stub this request with the following snippet:  stub_request(:post, "http://www.example.com/").  with(:body => "a=1&c[d][]=e&b=five&c[d][]=f",  :headers => {'Authorization'=>['', '']}).  to_return(:status => 200, :body => "", :headers => {})  registered request stubs:  stub_request(:post, "http://www.example.com/").  with(:body => {"b"=>"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}})  ============================================================ Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./lib/webmock/http_lib_adapters/em_http_request/em_http_request_0_x.rb:76:in `send_request'  # ./spec/em_http_request_spec_helper.rb:21:in `send'  # ./spec/em_http_request_spec_helper.rb:21:in `http_request'  # ./spec/em_http_request_spec_helper.rb:14:in `http_request'  # ./spec/webmock_shared.rb:275 198) Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option Failure/Error: lambda { expected no Exception, got #['', '']} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./spec/webmock_shared.rb:1037 199) Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option Failure/Error: lambda { expected no Exception, got #['', '']} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./spec/webmock_shared.rb:1051 200) Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&c[d][]=f&b=five' with headers {'Authorization'=>['', '']} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./spec/webmock_shared.rb:1122 201) Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order Failure/Error: lambda { expected no Exception, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'a=1&c[d][]=e&b=five&c[d][]=f' with headers {'Authorization'=>['', '']} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./spec/webmock_shared.rb:1129 202) Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash Failure/Error: lambda { expected RSpec::Expectations::ExpectationNotMetError with message matching /The request POST http:\/\/www.example.com\/ with body \{"a"=>"1", "b"=>"five", "c"=>\{"d"=>\["e", "f"\]\}\} was expected to execute 1 time but it executed 0 times/, got #"five", "a"=>"1", "c"=>{"d"=>["e", "f"]}} was expected to execute 1 time but it executed 0 times  The following requests were made:  POST http://www.example.com/ with body 'c[d][]=f&a=1&c[d][]=e' with headers {'Authorization'=>['', '']} was made 1 time  ============================================================> Shared Example Group: "WebMock" called from ./spec/em_http_request_spec.rb:11  # ./spec/webmock_shared.rb:1136 Finished in 26.76 seconds 1230 examples, 202 failures Failed examples: rspec ./spec/webmock_shared.rb:47 # Webmock with Patron it should behave like WebMock when web connect is not allowed should return stubbed response if request was stubbed rspec ./spec/webmock_shared.rb:52 # Webmock with Patron it should behave like WebMock when web connect is not allowed should return stubbed response if request with path was stubbed rspec ./spec/webmock_shared.rb:69 # Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for localhost should return stubbed response if request was stubbed rspec ./spec/webmock_shared.rb:107 # Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for allowed domains when the host is not allowed should return stubbed response if request was stubbed rspec ./spec/webmock_shared.rb:120 # Webmock with Patron it should behave like WebMock when web connect is not allowed with exception for allowed domains when the host with port is not allowed should return stubbed response if request was stubbed rspec ./spec/webmock_shared.rb:164 # Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by uri with non escaped params if request have escaped parameters rspec ./spec/webmock_shared.rb:169 # Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by uri with escaped parameters even if request has non escaped params rspec ./spec/webmock_shared.rb:174 # Webmock with Patron it should behave like WebMock when matching requests on uri should match the request by regexp matching non escaped params uri if request params are escaped rspec ./spec/webmock_shared.rb:183 # Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash rspec ./spec/webmock_shared.rb:188 # Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query declared as a string rspec ./spec/webmock_shared.rb:193 # Webmock with Patron it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option rspec ./spec/webmock_shared.rb:202 # Webmock with Patron it should behave like WebMock when matching requests on method should match the request by method if registered rspec ./spec/webmock_shared.rb:207 # Webmock with Patron it should behave like WebMock when matching requests on method should not match requests if method is different rspec ./spec/webmock_shared.rb:220 # Webmock with Patron it should behave like WebMock when matching requests on body should match requests if body is the same rspec ./spec/webmock_shared.rb:227 # Webmock with Patron it should behave like WebMock when matching requests on body should match requests if body is not set in the stub rspec ./spec/webmock_shared.rb:243 # Webmock with Patron it should behave like WebMock when matching requests on body with regular expressions should match requests if body matches regexp rspec ./spec/webmock_shared.rb:267 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body rspec ./spec/webmock_shared.rb:273 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params rspec ./spec/webmock_shared.rb:292 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash matches body rspec ./spec/webmock_shared.rb:298 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash matches body in different form rspec ./spec/webmock_shared.rb:304 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with json body and content type is set to json should match if hash contains date string rspec ./spec/webmock_shared.rb:321 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash matches body rspec ./spec/webmock_shared.rb:327 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash matches body in different form rspec ./spec/webmock_shared.rb:333 # Webmock with Patron it should behave like WebMock when matching requests on body when body is declared as a hash for request with xml body and content type is set to xml should match if hash contains date string rspec ./spec/webmock_shared.rb:350 # Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if headers are the same rspec ./spec/webmock_shared.rb:357 # Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if headers are the same and declared as array rspec ./spec/webmock_shared.rb:392 # Webmock with Patron it should behave like WebMock when matching requests on headers should match requests if request headers are not stubbed rspec ./spec/webmock_shared.rb:366 # Webmock with Patron it should behave like WebMock when matching requests on headers when multiple headers with the same key are used should match requests if headers are the same rspec ./spec/webmock_shared.rb:373 # Webmock with Patron it should behave like WebMock when matching requests on headers when multiple headers with the same key are used should match requests if headers are the same but in different order rspec ./spec/webmock_shared.rb:421 # Webmock with Patron it should behave like WebMock when matching requests on headers with regular expressions should match requests if header values match regular expression rspec ./spec/webmock_shared.rb:443 # Webmock with Patron it should behave like WebMock when matching requests with basic authentication should match if credentials are the same rspec ./spec/webmock_shared.rb:473 # Webmock with Patron it should behave like WebMock when matching requests with block should match if block returns true rspec ./spec/webmock_shared.rb:485 # Webmock with Patron it should behave like WebMock when matching requests with block should pass the request to the block rspec ./spec/webmock_shared.rb:522 # Webmock with Patron it should behave like WebMock raising stubbed exceptions should raise exception if declared in a stubbed response after returning declared response rspec ./spec/webmock_shared.rb:542 # Webmock with Patron it should behave like WebMock raising timeout errors should raise exception if declared in a stubbed response after returning declared response rspec ./spec/webmock_shared.rb:554 # Webmock with Patron it should behave like WebMock returning stubbed responses should return declared body rspec ./spec/webmock_shared.rb:559 # Webmock with Patron it should behave like WebMock returning stubbed responses should return declared headers rspec ./spec/webmock_shared.rb:565 # Webmock with Patron it should behave like WebMock returning stubbed responses should return declared headers when there are multiple headers with the same key rspec ./spec/webmock_shared.rb:571 # Webmock with Patron it should behave like WebMock returning stubbed responses should return declared status code rspec ./spec/webmock_shared.rb:576 # Webmock with Patron it should behave like WebMock returning stubbed responses should return declared status message rspec ./spec/webmock_shared.rb:585 # Webmock with Patron it should behave like WebMock returning stubbed responses should return default status code rspec ./spec/webmock_shared.rb:590 # Webmock with Patron it should behave like WebMock returning stubbed responses should return default empty message rspec ./spec/webmock_shared.rb:599 # Webmock with Patron it should behave like WebMock returning stubbed responses should return body declared as IO rspec ./spec/webmock_shared.rb:604 # Webmock with Patron it should behave like WebMock returning stubbed responses should return body declared as IO if requested many times rspec ./spec/webmock_shared.rb:618 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic response parts should return evaluated response body rspec ./spec/webmock_shared.rb:623 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic response parts should return evaluated response headers rspec ./spec/webmock_shared.rb:638 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should return evaluated response body rspec ./spec/webmock_shared.rb:645 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should return evaluated response headers rspec ./spec/webmock_shared.rb:652 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should create dynamic responses from blocks rspec ./spec/webmock_shared.rb:659 # Webmock with Patron it should behave like WebMock returning stubbed responses dynamic responses should create dynamic responses from objects responding to call rspec ./spec/webmock_shared.rb:675 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded headers rspec ./spec/webmock_shared.rb:685 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded body rspec ./spec/webmock_shared.rb:689 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded status rspec ./spec/webmock_shared.rb:693 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should return recorded status message rspec ./spec/webmock_shared.rb:700 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses from file should ensure file is closed rspec ./spec/webmock_shared.rb:714 # Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded headers rspec ./spec/webmock_shared.rb:724 # Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded body rspec ./spec/webmock_shared.rb:728 # Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded status rspec ./spec/webmock_shared.rb:732 # Webmock with Patron it should behave like WebMock returning stubbed responses replying responses raw responses from string should return recorded status message rspec ./spec/webmock_shared.rb:747 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses evaluated dynamically should return response from evaluated file rspec ./spec/webmock_shared.rb:752 # Webmock with Patron it should behave like WebMock returning stubbed responses replying raw responses evaluated dynamically should return response from evaluated string rspec ./spec/webmock_shared.rb:763 # Webmock with Patron it should behave like WebMock returning stubbed responses rack responses should return response returned by rack app rspec ./spec/webmock_shared.rb:769 # Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared in array rspec ./spec/webmock_shared.rb:776 # Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should repeat returning last declared response from a sequence after all responses were returned rspec ./spec/webmock_shared.rb:783 # Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared as comma separated params rspec ./spec/webmock_shared.rb:790 # Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared with several to_return invokations rspec ./spec/webmock_shared.rb:800 # Webmock with Patron it should behave like WebMock returning stubbed responses sequences of responses should return responses one by one if declared with to_return invocations separated with then syntactic sugar rspec ./spec/webmock_shared.rb:812 # Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat one response declared number of times rspec ./spec/webmock_shared.rb:822 # Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat sequence of response declared number of times rspec ./spec/webmock_shared.rb:834 # Webmock with Patron it should behave like WebMock returning stubbed responses repeating declared responses more than once should repeat infinitely last response even if number of declared times is lower rspec ./spec/webmock_shared.rb:852 # Webmock with Patron it should behave like WebMock returning stubbed responses raising declared exceptions more than once should repeat raising exception declared number of times rspec ./spec/webmock_shared.rb:865 # Webmock with Patron it should behave like WebMock returning stubbed responses raising declared exceptions more than once should repeat raising sequence of exceptions declared number of times rspec ./spec/webmock_shared.rb:888 # Webmock with Patron it should behave like WebMock precedence of stubs should use the last declared matching request stub rspec ./spec/webmock_shared.rb:894 # Webmock with Patron it should behave like WebMock precedence of stubs should not be affected by the type of uri or request method rspec ./spec/webmock_shared.rb:912 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with the same uri and method rspec ./spec/webmock_shared.rb:919 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should accept verification as WebMock class method invocation rspec ./spec/webmock_shared.rb:932 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was not expected but executed rspec ./spec/webmock_shared.rb:939 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail with message with executed requests listed rspec ./spec/webmock_shared.rb:952 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed to different uri rspec ./spec/webmock_shared.rb:959 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different method rspec ./spec/webmock_shared.rb:966 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri rspec ./spec/webmock_shared.rb:973 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri without port  rspec ./spec/webmock_shared.rb:980 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri with port rspec ./spec/webmock_shared.rb:987 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different port rspec ./spec/webmock_shared.rb:994 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should pass if request was executed with different form of uri with https port rspec ./spec/webmock_shared.rb:1059 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested more times than expected rspec ./spec/webmock_shared.rb:1067 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested less times than expected rspec ./spec/webmock_shared.rb:1074 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if requested less times than expected when 3 times expected rspec ./spec/webmock_shared.rb:1081 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same body rspec ./spec/webmock_shared.rb:1088 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different body rspec ./spec/webmock_shared.rb:1203 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same headers rspec ./spec/webmock_shared.rb:1211 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with the same headers with value declared as array rspec ./spec/webmock_shared.rb:1247 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with different headers rspec ./spec/webmock_shared.rb:1255 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with less headers rspec ./spec/webmock_shared.rb:1263 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with more headers rspec ./spec/webmock_shared.rb:1273 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with body and headers but they were not specified in expectantion rspec ./spec/webmock_shared.rb:1283 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should succeed if request was executed with headers matching regular expressions rspec ./spec/webmock_shared.rb:1291 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed with headers not matching regular expression rspec ./spec/webmock_shared.rb:1299 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should suceed if request was executed and block evaluated to true rspec ./spec/webmock_shared.rb:1306 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was executed and block evaluated to false rspec ./spec/webmock_shared.rb:1313 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed should fail if request was not expected but it executed and block matched request rspec ./spec/webmock_shared.rb:1008 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with escaped params rspec ./spec/webmock_shared.rb:1015 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with non escaped params but escaped expected rspec ./spec/webmock_shared.rb:1022 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with escaped uris should pass if request was executed with escaped params but uri matichg regexp expected rspec ./spec/webmock_shared.rb:1036 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option rspec ./spec/webmock_shared.rb:1043 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared as string in query option rspec ./spec/webmock_shared.rb:1050 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option rspec ./spec/webmock_shared.rb:1098 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as regexp should succeed if request was executed with the same body rspec ./spec/webmock_shared.rb:1105 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as regexp should fail if request was executed with different body rspec ./spec/webmock_shared.rb:1121 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed rspec ./spec/webmock_shared.rb:1128 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order rspec ./spec/webmock_shared.rb:1135 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash rspec ./spec/webmock_shared.rb:1146 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed rspec ./spec/webmock_shared.rb:1154 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed if json body is in different form rspec ./spec/webmock_shared.rb:1162 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with json body matching hash and content type is set to json should succeed if json body contains date string rspec ./spec/webmock_shared.rb:1175 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed rspec ./spec/webmock_shared.rb:1183 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed if xml body is in different form rspec ./spec/webmock_shared.rb:1191 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with xml body matching hash and content type is set to xml should succeed if xml body contains date string rspec ./spec/webmock_shared.rb:1221 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should succeed if request was executed with the same headers rspec ./spec/webmock_shared.rb:1229 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should succeed if request was executed with the same headers but different order rspec ./spec/webmock_shared.rb:1237 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed when multiple headers with the same key are passed should fail if request was executed with different headers rspec ./spec/webmock_shared.rb:1326 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should succeed if succeed if request was executed with expected credentials rspec ./spec/webmock_shared.rb:1333 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed with different credentials than expected rspec ./spec/webmock_shared.rb:1340 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed without credentials but credentials were expected rspec ./spec/webmock_shared.rb:1347 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should fail if request was executed with credentials but expected without rspec ./spec/webmock_shared.rb:1354 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed with authentication should be order insensitive rspec ./spec/webmock_shared.rb:1366 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify expected requests occured rspec ./spec/webmock_shared.rb:1373 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify expected requests occured rspec ./spec/webmock_shared.rb:1380 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should verify that non expected requests didn't occur rspec ./spec/webmock_shared.rb:1387 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should succeed if request was executed and block evaluated to true rspec ./spec/webmock_shared.rb:1394 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should fail if request was executed and block evaluated to false rspec ./spec/webmock_shared.rb:1401 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using webmock matcher should fail if request was not expected but executed and block matched request rspec ./spec/webmock_shared.rb:1413 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify expected requests occured rspec ./spec/webmock_shared.rb:1421 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify expected requests occured rspec ./spec/webmock_shared.rb:1428 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify that non expected requests didn't occur rspec ./spec/webmock_shared.rb:1435 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if non expected request executed and block evaluated to true rspec ./spec/webmock_shared.rb:1442 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if request was executed and block evaluated to true rspec ./spec/webmock_shared.rb:1449 # Webmock with Patron it should behave like WebMock verification of request expectation when net connect not allowed using assert_requested should verify if request was executed and block evaluated to false rspec ./spec/webmock_shared.rb:1461 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify expected requests occured rspec ./spec/webmock_shared.rb:1467 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify subsequent requests rspec ./spec/webmock_shared.rb:1475 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify expected requests occured rspec ./spec/webmock_shared.rb:1481 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify that non expected requests didn't occur rspec ./spec/webmock_shared.rb:1489 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if non expected request executed and block evaluated to true rspec ./spec/webmock_shared.rb:1497 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if request was executed and block evaluated to true rspec ./spec/webmock_shared.rb:1503 # Webmock with Patron it should behave like WebMock verification of request expectation using matchers on the RequestStub should verify if request was executed and block evaluated to false rspec ./spec/webmock_shared.rb:1551 # Webmock with Patron it should behave like WebMock callbacks after_request should invoke a callback after request is made rspec ./spec/webmock_shared.rb:1559 # Webmock with Patron it should behave like WebMock callbacks after_request should not invoke a callback if specific http library should be ignored rspec ./spec/webmock_shared.rb:1567 # Webmock with Patron it should behave like WebMock callbacks after_request should invoke a callback even if other http libraries should be ignored rspec ./spec/webmock_shared.rb:1575 # Webmock with Patron it should behave like WebMock callbacks after_request should pass request signature to the callback rspec ./spec/webmock_shared.rb:1646 # Webmock with Patron it should behave like WebMock callbacks after_request should invoke multiple callbacks in order of their declarations rspec ./spec/webmock_shared.rb:1662 # Webmock with Patron it should behave like WebMock callbacks after_request should clear all declared callbacks on reset callbacks rspec ./spec/webmock_shared.rb:1599 # Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with status and message rspec ./spec/webmock_shared.rb:1603 # Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with headers rspec ./spec/webmock_shared.rb:1610 # Webmock with Patron it should behave like WebMock callbacks after_request passing response to callback for stubbed requests should pass response with body rspec ./spec/webmock_shared.rb:1756 # Webmock with Patron it should behave like WebMock enabling and disabling webmock when webmock is enabled again it should behave like enabled WebMock should return stubbed response rspec ./spec/webmock_shared.rb:1756 # Webmock with Patron it should behave like WebMock enabling and disabling webmock when webmock is disabled except this lib it should behave like enabled WebMock should return stubbed response rspec ./spec/patron_spec.rb:83 # Webmock with Patron when custom functionality is used should work with WebDAV copy request rspec ./spec/patron_spec.rb:33 # Webmock with Patron when custom functionality is used file requests should work with get_file rspec ./spec/patron_spec.rb:53 # Webmock with Patron when custom functionality is used file requests should work with put_file rspec ./spec/patron_spec.rb:59 # Webmock with Patron when custom functionality is used file requests should work with post_file rspec ./spec/stub_request_snippet_spec.rb:64 # WebMock::StubRequestSnippet to_s POST should print stub request snippet with body as a hash using rails conventions on form posts rspec ./spec/webmock_shared.rb:183 # Webmock with Net:HTTP it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash rspec ./spec/webmock_shared.rb:193 # Webmock with Net:HTTP it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option rspec ./spec/webmock_shared.rb:267 # Webmock with Net:HTTP it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body rspec ./spec/webmock_shared.rb:273 # Webmock with Net:HTTP it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params rspec ./spec/webmock_shared.rb:1036 # Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option rspec ./spec/webmock_shared.rb:1050 # Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option rspec ./spec/webmock_shared.rb:1121 # Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed rspec ./spec/webmock_shared.rb:1128 # Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order rspec ./spec/webmock_shared.rb:1135 # Webmock with Net:HTTP it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash rspec ./spec/webmock_shared.rb:183 # Webmock with HTTPClient it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash rspec ./spec/webmock_shared.rb:193 # Webmock with HTTPClient it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option rspec ./spec/webmock_shared.rb:267 # Webmock with HTTPClient it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body rspec ./spec/webmock_shared.rb:273 # Webmock with HTTPClient it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params rspec ./spec/webmock_shared.rb:1036 # Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option rspec ./spec/webmock_shared.rb:1050 # Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option rspec ./spec/webmock_shared.rb:1121 # Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed rspec ./spec/webmock_shared.rb:1128 # Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order rspec ./spec/webmock_shared.rb:1135 # Webmock with HTTPClient it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash rspec ./spec/webmock_shared.rb:183 # Webmock with HTTPClient async requests it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash rspec ./spec/webmock_shared.rb:193 # Webmock with HTTPClient async requests it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option rspec ./spec/webmock_shared.rb:267 # Webmock with HTTPClient async requests it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body rspec ./spec/webmock_shared.rb:273 # Webmock with HTTPClient async requests it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params rspec ./spec/webmock_shared.rb:1036 # Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option rspec ./spec/webmock_shared.rb:1050 # Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option rspec ./spec/webmock_shared.rb:1121 # Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed rspec ./spec/webmock_shared.rb:1128 # Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order rspec ./spec/webmock_shared.rb:1135 # Webmock with HTTPClient async requests it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash rspec ./spec/request_pattern_spec.rb:129 # WebMock::RequestPattern when matching when matching requests on query params should match request query params even if uri is declared as regexp rspec ./spec/request_pattern_spec.rb:139 # WebMock::RequestPattern when matching when matching requests on query params should match for query params are the same as declared in hash rspec ./spec/request_pattern_spec.rb:207 # WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash matches body rspec ./spec/request_pattern_spec.rb:212 # WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash matches body in different order of params rspec ./spec/request_pattern_spec.rb:227 # WebMock::RequestPattern when matching when matching requests with body when body in pattern is declared as a hash for request with url encoded body should match when hash contains regex values rspec ./spec/webmock_shared.rb:183 # Webmock with EM::HttpRequest it should behave like WebMock when matching requests on query params should match the request by query params declared as a hash rspec ./spec/webmock_shared.rb:193 # Webmock with EM::HttpRequest it should behave like WebMock when matching requests on query params should match the request by query params declared both in uri and query option rspec ./spec/webmock_shared.rb:267 # Webmock with EM::HttpRequest it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body rspec ./spec/webmock_shared.rb:273 # Webmock with EM::HttpRequest it should behave like WebMock when matching requests on body when body is declared as a hash for request with url encoded body should match request if hash matches body in different order of params rspec ./spec/webmock_shared.rb:1036 # Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params declared in a hash in query option rspec ./spec/webmock_shared.rb:1050 # Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when matching requests with query params should pass if the request was executed with query params both in uri and in query option rspec ./spec/webmock_shared.rb:1121 # Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed rspec ./spec/webmock_shared.rb:1128 # Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should succeed if url encoded params have different order rspec ./spec/webmock_shared.rb:1135 # Webmock with EM::HttpRequest it should behave like WebMock verification of request expectation when net connect not allowed when expected body is declared as a hash when request is executed with url encoded body matching hash should fail if request is executed with url encoded body not matching hash rake aborted! ruby -S rspec -c -f progress -r ./spec/spec_helper.rb spec/real_net_http_spec.rb spec/rack_response_spec.rb spec/stub_registry_spec.rb spec/request_stub_spec.rb spec/http_lib_adapters/http_lib_adapter_spec.rb spec/http_lib_adapters/http_lib_adapter_registry_spec.rb spec/request_signature_spec.rb spec/patron_spec.rb spec/stub_request_snippet_spec.rb spec/request_execution_verifier_spec.rb spec/net_http_spec.rb spec/errors_spec.rb spec/httpclient_spec.rb spec/request_registry_spec.rb spec/response_spec.rb spec/request_pattern_spec.rb spec/webmock_spec.rb spec/util/json_spec.rb spec/util/hash_counter_spec.rb spec/util/headers_spec.rb spec/util/hash_keys_stringifier_spec.rb spec/util/uri_spec.rb spec/em_http_request_spec.rb spec/quality_spec.rb failed Tasks: TOP => spec (See full trace by running task with --trace) * ERROR: dev-ruby/webmock-1.7.4 failed (test phase): * tests failed * * Call stack: * ebuild.sh, line 93: Called src_test * environment, line 4531: Called ruby-ng_src_test * environment, line 4210: Called _ruby_each_implementation 'each_ruby_test' * environment, line 550: Called _ruby_invoke_environment 'ruby18' 'each_ruby_test' * environment, line 602: Called each_ruby_test * environment, line 888: Called each_fakegem_test * environment, line 869: Called die * The specific snippet of code: * ${RUBY} -S rake ${RUBY_FAKEGEM_TASK_TEST} || die "tests failed" * * If you need support, post the output of `emerge --info '=dev-ruby/webmock-1.7.4'`, * the complete build log and the output of `emerge -pqv '=dev-ruby/webmock-1.7.4'`. !!! When you file a bug report, please include the following information: GENTOO_VM= CLASSPATH="" JAVA_HOME="/etc/java-config-2/current-system-vm" JAVACFLAGS="" COMPILER="" and of course, the output of emerge --info * The complete build log is located at '/var/log/portage/dev-ruby:webmock-1.7.4:20121226-201702.log'. * For convenience, a symlink to the build log is located at '/var/tmp/portage/dev-ruby/webmock-1.7.4/temp/build.log'. * The ebuild environment file is located at '/var/tmp/portage/dev-ruby/webmock-1.7.4/temp/environment'. * Working directory: '/var/tmp/portage/dev-ruby/webmock-1.7.4/work/ruby18/webmock-1.7.4' * S: '/var/tmp/portage/dev-ruby/webmock-1.7.4/work/ruby18/webmock-1.7.4'  * The ebuild phase 'test' with pid 12274 appears to have left an orphan  * process running in the background.