delicious

Webmock

A murb'ed feed, posted 7 months ago filed in , , , , , , & .

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.