I'm using the Handsoap gem with Httpclient gem as the driver in a Rails app.
How can I prevent network calls from Handsaop/Httpclient gems in test cases?
FakeWeb doesn't support Httpclient.
I'm using the Handsoap gem with Httpclient gem as the driver in a Rails app.
How can I prevent network calls from Handsaop/Httpclient gems in test cases?
FakeWeb doesn't support Httpclient.
That's right, FakeWeb currently only supports libraries based on Net::HTTP.
Here's a ticket about adding HttpClient support, which also references a couple older forks that attempt to do it.
You can use WebMock http://github.com/bblimke/webmock. It has support for Httpclient.