This topic documents RSpec's support for test doubles (stubs, mocks, etc.). That support is provided by the rspec-mocks gem.