re: Should I test initialize? VIEW POST

TOP OF THREAD FULL DISCUSSION
re: only create attributes without complex logic This is probably not a good enough point to avoid testing it. The method is still part of something ...
 

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.

code of conduct - report abuse