A gem providing "time travel", "time freezing", and "time acceleration" capabilities, making it simple to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.
MIT License
3.36k
stars
223
forks
source link
Need a proper test for making sure we don't change timezones inadvertently #411
See https://github.com/travisjeffery/timecop/pull/404#issuecomment-1676559583
I think @technicalpickles is on it. :)
Our defective test is in this PR https://github.com/travisjeffery/timecop/pull/107