[rspec-users] How do you keep mocks updated without pain?

Jay Levitt lists-rspec at shopwatch.org
Sun Sep 2 16:35:17 EDT 2007


On 8/29/2007 6:19 PM, Zach Dennis wrote:
> In rspec, controller, model and view specs are just unit tests/specs.

And that's really the key; in Rails Test::Unit, model tests are unit 
tests, and controller tests are higher-level "functional" tests.  So you 
never get to unit-test your controllers.  On the other hand, in RSpec 
through 1.0.8, you never get to integration-test anything at all.  But 
that's all changing!

Jay



More information about the rspec-users mailing list