Ruby test helper for injecting fake responses to web requests