• Sean McGivern's avatar
    Add failing test for milestone with far-future date · 8a49eeed
    Sean McGivern authored
    When looking for upcoming milestones, we compare the milestone's due
    date to `NOW()`. However, the due date is a date and `NOW()` is a
    timestamp, and in Postgres, timestamps can't extend as far in the future
    as dates can.
    
    This test exposes the issue.
    8a49eeed
milestone_spec.rb 17.4 KB