Description
Stubs and verifies HTTP requests in Ruby tests. It is useful for testing API clients, network integrations, and failure paths without depending on live external services.
HTTP stubs can drift from real APIs. Keep contract or integration tests for critical services and avoid recording secrets in request expectations.