[rspec-users] Refactoring's code needs refactoring's specs?
Gaston Ramos
ramos.gaston at gmail.com
Mon Jun 9 23:25:19 EDT 2008
Hi guys, I have one question:
When refactoring the working code I need or should refactoring the specs too?
My old code is:
http://pastie.org/private/gpskgtavm4yzutanq1ro3w
My new refactored code:
http://pastie.org/private/2emgi1hr5iga3m9jib4q
and the specs that are still passing without refactoring:
http://pastie.org/private/qn3uaoin0k2n8vjsusssg
Regards.
--
"Most of you are familiar with the virtues of a programmer. There are three, of
course: laziness, impatience, and hubris."
(Larry Wall)
+-------------------------------------+
Gastón Ramos
http://gastonramos.wordpress.com/
GNU/Linux Counter user #450312
More information about the rspec-users
mailing list