Registry / testing / fakeweb-fi

fakeweb-fi

JSON →
library1.3.1rbrubygemsunverified

FakeWeb is a helper for faking web requests in Ruby, working at a global level without modifying code or writing extensive stubs.

testing
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

require 'fakeweb'

Register a fake URI and make a request

require 'fakeweb' FakeWeb.register_uri(:get, 'http://example.com', body: 'Hello') Net::HTTP.get(URI('http://example.com'))
Debug
Known footguns

No known footguns recorded.

Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
14 hits · last 30 days
gptbot
3
claudebot
3
mj12bot
2
ahrefsbot
1
Resources