[rspec-users] deprecate mock_model?

David Chelimsky dchelimsky at gmail.com
Mon Jul 19 20:47:12 EDT 2010


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


More information about the rspec-users mailing list