2.99.0.beta2 / 2014-02-17
Deprecations:
- Deprecate
RSpec::Mocks::Mockin favor ofRSpec::Mocks::Double.
(Myron Marston) - Deprecate the
hostargument ofRSpec::Mocks.setup. Instead
RSpec::Mocks::ExampleMethodsshould be included directly in the scope where
RSpec's mocking capabilities are used. (Sam Phippen) - Deprecate using any of rspec-mocks' features outside the per-test
lifecycle (e.g. from abefore(:all)hook). (Myron Marston) - Deprecate re-using a test double in another example. (Myron Marston)
- Deprecate
and_return { value }andand_returnwithout arguments. (Yuji Nakayama)