A mobile first application serving Community Education Partnership (CEP) - https://www.cep.ngo/ . This volunteer used application works in collaboration with https://github.com/rubyforgood/inkind-admin .
MIT License
11
stars
19
forks
source link
Change bin/rails c to bin/rails s, Fix date testing bug #64
This fixes a minor issue in the instructions for the README.
In fixing this issue, I discovered that a hard coded date in a test had gotten out of sync with the age it was representing.
e.g. A student being born "2008-10-20" was age 12 just a few days ago, but now is age 13. The test was expecting 12 so it failed. I fixed it so it will always be 13 years from whatever day it is.
Description
This fixes a minor issue in the instructions for the README.
In fixing this issue, I discovered that a hard coded date in a test had gotten out of sync with the age it was representing.
e.g. A student being born "2008-10-20" was age 12 just a few days ago, but now is age 13. The test was expecting 12 so it failed. I fixed it so it will always be 13 years from whatever day it is.
Type of change
Screenshot
s