Refactoring's code needs refactoring's specs?

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

GNU/Linux Counter user #450312

Pat M. posted about this: eli.st
refactoring-with-shared-example-groups

Matthias.

Am 10.06.2008 um 05:25 schrieb Gaston R.: