Faking web requests in Rails test without Fakeweb

Posted by Poor Lil Rich Boy on Stack Overflow See other posts from Stack Overflow or by Poor Lil Rich Boy
Published on 2009-11-16T15:26:52Z Indexed on 2010/03/18 22:51 UTC
Read the original article Hit count: 380

Filed under:
|
|
|
|

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.

© Stack Overflow or respective owner

Related posts about ruby

Related posts about unit-testing