shared

Stubbing External Services in Rails

A murb'ed feed, posted more than 5 years ago filed in ruby, testing, services, api, external, requests, post, get & gem.

A good, simple overview of the basic approaches to testing external services in Rails:

tl;dr:

I recently had fun of using a hybrid webmock / fake service approach. A blog is plannedA blog has been written.

Go to the original link.