[rspec-users] Why stop using mock_model in scaffold controller spec?

Mike Mazur mmazur at gmail.com
Tue Mar 27 14:10:17 UTC 2012


In May last year, the controller specs generated with `rspec g
scaffold` were changed to use real model objects instead of

I'm curious why this change was made? Searching the rspec-users
mailing list archives didn't turn up anything, and rspec-devel
archives I found finish in Februrary 2011[2].


[1]: https://github.com/rspec/rspec-rails/commit/daef552453e89616e2762e87c0a77dc9b08a2220
[2]: http://rubyforge.org/pipermail/rspec-devel/

More information about the rspec-users mailing list