timecop in markets/awesome-ruby, veelenga/awesome-crystal, hothero/awesome-rails-gem

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.

created at Nov. 7, 2008, 8:37 p.m.

Ruby

32 +0

3,369 +0

225 -1

GitHub