Registry / testing / much-stub

much-stub

JSON →
library0.1.10rbrubygemsunverified

Stubbing API for replacing method calls on objects in test runs.

gem install much-stub
INSTALL
IMPORT
SIG · MUCH-STUB
M
much-stub
testingrubyv0.1.10
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.

MuchStub
require 'much-stub'

Stub a method on an object to return a specific value.

require 'much-stub' obj = Object.new MuchStub.stub(obj, :foo) { 'bar' } obj.foo # => 'bar'
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.10latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Amazon
1
Resources
much-stub — gem install much-stub · libregistry