What\'s the best way to set Time.now for the purpose of testing time-sensitive methods in a unit test?
Time.now
If you have ActiveSupport included, you could use:
travel_to Time.zone.parse('2010-07-05 08:00')
http://api.rubyonrails.org/classes/ActiveSupport/Testing/TimeHelpers.html