Registry / testing / fakes-rspec

fakes-rspec

JSON →
library2.1.0rbrubygemsunverified

Faking library that allows inspection of received calls after they have been made. Also supports tracking calls with multiple argument sets.

gem install fakes-rspec
INSTALL
IMPORT
SIG · FAKES-RSPEC
F
fakes-rspec
testingrubyv2.1.0
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.

Fakes
require 'fakes-rspec'

Create a fake and verify method calls

require 'fakes-rspec' fake = Fakes::Fake.new fake.some_method(1, 2) expect(fake).to have_received(:some_method).with(1, 2)
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.1.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
fakes-rspec — gem install fakes-rspec · libregistry