There was a static value (4) where the value read from the form
should have been. This is fixed.
This change can be tested by performing the following actions.
Click the Brew button to add a new brew.
Select 1 for the rating, click Save.
Recipe view should show the rating as 1.
Click Edit, this view should show the rating as 1.
Change the rating to 5. Click Save.
Recipe view should show the rating as 5.
Click Edit, this view should show the rating as 5.
I was not able to successfully get the Coffeescript tests to pass. I think this is due to me having a new version of Coffeescript and the test being written to an older version.
There was a static value (4) where the value read from the form should have been. This is fixed.
This change can be tested by performing the following actions.
I was not able to successfully get the Coffeescript tests to pass. I think this is due to me having a new version of Coffeescript and the test being written to an older version.