Faking Remote Services with Rack::Test
Using Rack middleware, we can reroute Rack::Test requests to fake remote services without spinning up servers. This example shows how to use that technique to handle the Transparent Redirect HTTP requests for the Braintree payment gateway.
Post a comment