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