Stubbing and Setting Expectations on HTTP Requests Is Now Easy With WebMock
Is your application making HTTP requests? Are you also tired of writing complex tests with HTTP library methods stubbed? Do you end up testing implementation of Net::HTTP or other HTTP libs instead of testing behaviour? Do you have to change your tests or specs any time you change your HTTP library, even if behaviour doesn’t change? I had the same problems so I created WebMock gem.
Post a comment