Your message dated Tue, 1 Mar 2016 20:16:50 +0100
with message-id <20160301191650.GA4682@esfahan>
and subject line 1.22.6-1 builds fine
has caused the Debian Bug report #798539,
regarding ruby-webmock tests fail in unstable
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
798539: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=798539
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: src:ruby-webmock
Version: 1.19.0-1
Severity: serious
Tags: sid stretch
ruby-webmock tests fail in unstable:
Failures:
1) Webmock with Curb using #http for requests it should behave like Curb with
WebMock when requests are stubbed based on body when body is declared as partial
hash matcher when using 'RSpec:Mocks::ArgumentMatchers#hash_including' for
request with url encoded body should match request if hash matches body
Failure/Error: subject(:request) { http_request( :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'
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").
to_return(:status => 200, :body => "", :headers => {})
registered request stubs:
stub_request(:post, "http://www.example.com/").
with(:body =>
hash_including({"a"=>#<RSpec::Mocks::ArgumentMatchers::AnyArgMatcher:0x000000015e0848>,
"c"=>{"d"=>["e", "f"]}}))
============================================================
Shared Example Group: "stubbing requests" called from
./spec/acceptance/webmock_shared.rb:27
Shared Example Group: "with WebMock" called from
./spec/acceptance/curb/curb_spec.rb:10
Shared Example Group: "Curb" called from
./spec/acceptance/curb/curb_spec.rb:323
# ./lib/webmock/http_lib_adapters/curb_adapter.rb:79:in `curb_or_webmock'
# ./lib/webmock/http_lib_adapters/curb_adapter.rb:215:in `perform'
# ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
# ./lib/webmock/http_lib_adapters/curb_adapter.rb:189:in `http'
# ./spec/acceptance/curb/curb_spec_helper.rb:69:in `curb_http_request'
# ./spec/acceptance/curb/curb_spec_helper.rb:8:in `http_request'
# ./spec/acceptance/shared/stubbing_requests.rb:218:in `block (5 levels) in
<top (required)>'
# ./spec/acceptance/shared/stubbing_requests.rb:232:in `block (7 levels) in
<top (required)>'
and 49 more
log.gz
Description: application/gzip
--- End Message ---
--- Begin Message ---
Control: tag fixed -1 1.22.6-1
Control: tag notfound -1 1.22.6.-1
Hi,
Thank you for your report.
I think this was closed by the upload of the new version of 1.22.6-1,
which builds fine in a clean environment. I am thus closing this bug.
Feel free to reopen if needed.
Cheers,
Cédric
signature.asc
Description: PGP signature
--- End Message ---