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.

gem install fakeweb-fi
INSTALL
IMPORT
SIG · FAKEWEB-FI
F
fakeweb-fi
testingrubyv1.3.1
harness data pending
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.

FakeWeb
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 issues

No known issues recorded.

Upgrade
Version history
1.3.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
fakeweb-fi — gem install fakeweb-fi · libregistry