RailsCasts Pro episodes are now free!

Learn more or hide this

sch1zo's Profile

GitHub User: sch1zo

Site: tumblr.eger-andreas.de

Comments by sch1zo


I thought exactly the same. I always just mock Time.zone.now (or Time.now) to test if the time gets set.

I really would like to hear what the benefits of using timecop are if you only want to test if the time gets set to Time.zone.now