Class: RSpec::Mocks::SimpleMessageExpectation
- Inherits:
-
Object
- Object
- RSpec::Mocks::SimpleMessageExpectation
- Defined in:
- lib/rspec/mocks/message_expectation.rb
Overview
A message expectation that only allows concrete return values to be set for a message. While this same effect can be achieved using a standard MessageExpectation, this version is much faster and so can be used as an optimization.