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.37k
stars
226
forks
source link
Add support for 'in:' kwarg in Time.new and Time.now #432
This adds support for Ruby 3.1's
in:
keyword argument.Example usage:
Fixes #431