lundi 2 mars 2015

Should I test for attributes on Models?

In my unit tests, should I test for attributes on the models?


If I have a model called person, should write a test to make sure that person.name exists, and is required?


Aucun commentaire:

Enregistrer un commentaire