31 Oct '16, 11am

Stubbing External APIs with WebMock

Stubbing External APIs with WebMock by Chris Kottom — Today I’ve been testing code that uses third-party APIs for almost as long as I’ve been writing Ruby, but it wasn’t until recently that some particularly heavy integration requirements got me thinking about the right way to go about it. In this post, I describe the approach that I’ve been using to write fast, manageable tests for highly distributed systems using WebMock .

Full article: http://www.rubyflow.com/p/3ll92a-stubbing-external-apis-w...