Bartosz Blimke

Results 218 comments of Bartosz Blimke

Thanks @austinthecoder . I have checked and I indeed WebMock don't support instrumentation offered by http.rb yet.

@austinthecoder many http library features need to be implemented in WebMock, and it's likely that support for HTTP.use has been added after the adapter for WebMock has been implemented, that's...

Thank you @tbrammar. Looks good but I believe only the default port should be omitted?

@jefgarzon it's only when using nested hash_including right? I don't think nested hash_including has every been tested in WebMock

WebMock's version of hash_including has ben developed to cover hash_including in other environments than Rspec. When RSpec is used, default RSpec's hash_including is supposed to be used. I guess the...

> I expect mocked URL's to not actually try to HTTP connect when net_http_connect_on_start is enabled, similar to the behavior when net_http_connect_on_start is disabled. By enabling `net_http_connect_on_start` , you are...

@4geru do you mean allowing for `stub_request(:get, url).to_return(status: :ok, body: 'response')` ? Would it make much difference?

No there isn't. It's not easy to fix (that's why it hasn't been fixed yet :). Direct body matching won't work as body parts boundaries change on each requested. The...

@chadcf matching multipart body was never supported and never worked. The error messages were unclear so the assertion has been added to 2.x recently, which raises an error on an...