DEV Community

Discussion on: Should I test initialize?

Collapse
leandrogs profile image
Leandro Gomes Author • Edited

The method is still part of something complex and the tests help ensure the acceptability of the code as a whole.

I could think of times you'd just call Object.new, perhaps to pass into a form_for.

Those are the points I trust in. Even if it is implicitly tested, it still is a public method.