[rspec-users] Rate my code: refactoring from spec
Fernando Perez
lists at ruby-forum.com
Thu Apr 16 05:58:57 EDT 2009
Joaquin Rivera Padron wrote:
> hey there,
> maybe you should take a look at solutions that fake your database in
> memory
> for such cases, saving your time doing all that stubbing and mocking
Yeah you are right. I am refactoring (messing up?) code because I have a
DB constraint, so instead of rewriting the code I should find a better
DB to use during tests.
What's up will nullDB? I once saw the developper post a few message on
the mailing-list. Anyone using it with success?
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list