[Rspec-devel] Mock the krufty bits, don't complicate the framework (was Re: use case for: setup_once, teardown_once)

itsme213 itsme213 at hotmail.com
Mon May 29 11:55:22 EDT 2006

Hi Kent,

>> How would you suggest this one be written in rspec?
> Using mocks (mock home, mock open door...)

I had meant this as an example of nested contexts, not about performance or 
mocks. Even after mocking things out there is still the question of how the 
contexts and specs are structured.

> That's
> win-win-win, dude! :D

I agree.


More information about the Rspec-devel mailing list