delicious

Webmock

A murb'ed feed, posted almost 6 years ago filed in ruby, testing, services, api, external, requests, post & get.

Library for stubbing and setting expectations on HTTP requests in Ruby.

e.g. to mock fetching my site’s feed:

stub_request(:get, "https://murb.nl/feed").and_return({status: 200, body: "<rss />"})

Go to the original link.