Avoid live HTTP clients in Ruby unit tests
Net::HTTP, Faraday, or HTTParty usage in specs should be doubled or recorded.
Search documentation pages and rules
Search documentation pages and rules
Net::HTTP, Faraday, or HTTParty usage in specs should be doubled or recorded.
ruby.testing.real-network-in-unit-testLive HTTP couples CI to the network.
Use WebMock/VCR or dependency-injected doubles instead of live calls.
The generated metadata points to critiq-rules/libs/rules/catalog/rules/ruby/ruby.testing.real-network-in-unit-test.rule.yaml.