Registry / testing / rspec-fire

rspec-fire

JSON →
library1.3.0rbrubygemsunverified

Provides more resilient test doubles for RSpec by verifying that mocked methods exist.

gem install rspec-fire
INSTALL
IMPORT
SIG · RSPEC-FIRE
R
rspec-fire
testingrubyv1.3.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.

RSpecFire
require 'rspec-fire'

Enable fire doubles to catch stubbed methods that don't exist.

require 'rspec-fire' RSpec.configure do |config| config.mock_with :rspec config.fire_doubles = true end # Now doubles will raise if you stub a method that doesn't exist on the real object
Debug
Known issues
breakingRSpec Fire may conflict with newer RSpec versions; it's designed for RSpec 2.x and early 3.x.
fix
Check compatibility with your RSpec version; consider using RSpec's built-in verifying doubles instead.
affects: >= 1.0.0
Upgrade
Version history
1.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

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