2.99.0.beta2 / 2014-02-17
Deprecations:
- Deprecate
RSpec::Mocks::Mock
in favor ofRSpec::Mocks::Double
.
(Myron Marston) - Deprecate the
host
argument ofRSpec::Mocks.setup
. Instead
RSpec::Mocks::ExampleMethods
should 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_return
without arguments. (Yuji Nakayama)