I am just starting with testing in rails. I am using rspec and factory girl. I have a form with many input fields but when I save it, the value is send to an api instead. How do I write tests in such situation? Do I even need factory girl if it is not using any model?
Aucun commentaire:
Enregistrer un commentaire