Deprecate mock_model?

Hey all,

I’m thinking of deprecating mock_model in rspec-rails-2. stub_model is
more stable, reliable (not dependent on Rails internals like mock_model
is), much less intrusive, and I find that I use it all the time in spite
of the need to create a real model to back it up.

Anybody attached to mock_model? If so, please make your case.

Cheers,
David

On Jul 19, 2010, at 7:47 PM, David C. wrote:

Hey all,

I’m thinking of deprecating mock_model in rspec-rails-2. stub_model is more stable, reliable (not dependent on Rails internals like mock_model is), much less intrusive, and I find that I use it all the time in spite of the need to create a real model to back it up.

I spoke to soon. Please disregard :slight_smile: