Online conference February 19-20. Learn more!

ruby-timecop 0.9.1 Test mocks for time-dependent functions

Timecop provides "time travel" and "time freezing" capabilities, making it easier to test time-dependent code. It provides a unified method to mock Time.now, Date.today, and DateTime.now in a single call.