mardi 23 mai 2017

Testing a destroy action on a controller

Is there a way to test a destroy action method where a record should not be deleted if utilized by another module (if it is a forign key to another table).

I am using rails mini test.

Thanks

Aucun commentaire:

Enregistrer un commentaire