Rspec-mocks provides a test-double framework for rspec including support for method stubs, fakes, and message expectations. WWW: https://github.com/rspec/rspec-mocks