Bartosz Blimke

Results 218 comments of Bartosz Blimke

@tleish I understand what you want to achieve but I don't understand the issue that you had with async-http and WebMock. You stated that > However, after hitting roadblock with...

@mzedeler could you configure selenium to run on a fixed port number?

@toobulkeh multiple `with` doesn't work and is not expected to work. You could do the following: ```` stub_request(:post, url).with { |request| request.body =~ /\"action\"\:\"delay\"/ && request.body =~ /\"action\"\:\"send\"/ } ````

@x-yuri There is no way to do it, unless you use custom matching block. Nice workaround though. The proper solution would require adding `hash_excluding` matcher to WebMock, to make it...

@yellow-beard thank you for the suggestion. If the solution is easy and intuitive then I'm interested. It would be ideal to have a have a generic solution that works for...

@yellow-beard to be honest, you could simply reopen `StubRequestSnippet` class and change it. Assigning custom class brings the same risk here as reopening and since there is not really any...

Thanks for submitting the issue. Webmock also modifies Net::HTTP therefore it doesn't play nicely with other libraries that modify Net::HTTP as well. `rack-proxy (0.6.5) lib/net_http_hacked.rb:50:in `begin_request_hacked'`

I agree there is no harm of accepting both symbol or string. The change will have to be applied and tested against not only `stub_request` but `a_request`, `have_requested` and all...

Does that work woth Ruby 2.5.1 and WebMock 3.1.1?

@collimarco can you please check the last version that works for you? 3.4.1 perhaps?