Refactoring Tests

Hi, Rails Group.

After realizing that I write the same tests for my simple models over
and over again, I refactored the more common of the into the following
module:

http://snippets.dzone.com/posts/show/3591

What do you think about refactoring tests? Do you have suggestions on
which tests to add to the snippet above? Do you know if there is a
project out there that does more sophisticated refactoring of tests?

Bests,

Manuel

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs