travisjeffery / timecop

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

Closed joshuacronemeyer closed 3 weeks ago

joshuacronemeyer commented 1 year ago

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

alexcwatt commented 3 weeks ago

Can this issue be closed? It seems like #107 added the test, unless there were more cases that need to be covered.