I enter three integers with the aid of a form into the database (I
believe it is :post). In the controller, I make some calculations with
the numbers and save this in the database. The method in the controller
is called “create_index”
How can I test the calculation ? Is that a unit or functional test ?
Because I would like to test the calcualtion, if the results are
correctly saved in the database.
Thanks for your help !