inst-support-eng / panda-pto

Panda-PTO is a in house solution to HR staffing needs
3 stars 0 forks source link

add quarterly point seeding #96

Closed merchang closed 5 years ago

merchang commented 5 years ago

test plan:

  1. find (or make) a user who has taken more than 45 points worth of pto request
  2. find (or make) a user who has taken less than 45 points worth of pto request
  3. locally add the current date to the quarters array (line 6 app/controllers/pages_controller.rb)
  4. run rake quarterly_seed
  5. verify the user from step 1's bank_value increased by 45 points
  6. verify the user from step 2's bank_value updated to 180