I am developing a rails app, and I want to test every view to know if there is any missing translation. I can do it by adding assert_select "span.translation_missing", false
on every view on controller or integration tests, but I want to follow the DRY principle. Is there a way to do it without having to write the assertion code on every view in controller tests?
Aucun commentaire:
Enregistrer un commentaire