Thanks for this! - this is really useful - time/web mocking can make tests much much simpler and cleaner.
I'd also like to recommend WebMock
From what I gather, WebMock is a bit more fully-featured (it was even originally inspired by FakeWeb), and also works with non-Net::HTTP - based libraries such as EM-HTTP-Request
Thanks again
Mark
Thanks for this! - this is really useful - time/web mocking can make tests much much simpler and cleaner.
I'd also like to recommend WebMock
From what I gather, WebMock is a bit more fully-featured (it was even originally inspired by FakeWeb), and also works with non-Net::HTTP - based libraries such as EM-HTTP-Request
Thanks again
Mark