Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Rspec-2 doubles (mocks and stubs)

Fetching latest commit…

Cannot retrieve the latest commit at this time


Rspec Mocks

rspec-mocks provides a test-double framework for rspec including support for method stubs, fakes, and message expectations.

rspec-mocks is currently in alpha release. While you are welcome to track, fork, explore, etc, we're too early in the process to start fielding pull requests and or issues from outside the core development team, so please don't waste your time until this notice changes.


[sudo] gem install rspec --prerelease

This will install rspec, rspec-core, rspec-expectations and rspec-mocks.

Also see

Something went wrong with that request. Please try again.