Registry / testing / developwithpassion-fakes

developwithpassion-fakes

JSON →
library0.1.1rbrubygemsunverified

A faking library for Ruby that allows inspection of received calls after they have been made and supports tracking calls with multiple argument sets.

gem install developwithpassion_fakes
INSTALL
IMPORT
SIG · DEVELOPWITHPASSION
D
developwithpassion-fakes
testingrubyv0.1.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.

DevelopWithPassion::Fakes
require 'developwithpassion/fakes'

Create a fake and inspect received calls

require 'developwithpassion/fakes' fake = DevelopWithPassion::Fakes::Fake.new fake.some_method(1, 2) fake.received?(:some_method, [1, 2]) # => true
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.1.1latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
9 hits · last 30 days
node
8
Resources
developwithpassion-fakes — gem install developwithpassion-fakes · libregistry