aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/time_helpers.rb
Commit message (Expand)AuthorAgeFilesLines
* Fix rounding errors with #travel_to by resetting the usec on any passed time ...David Heinemeier Hansson2014-08-171-1/+5
* travel_to travels back and re-raises if the block raisesXavier Noria2014-02-181-3/+6
* time helpers honor the application time zone when passed a dateXavier Noria2014-02-181-4/+19
* Improve documentation [ci skip]Rafael Mendonça França2014-01-301-3/+4
* Remove automatic removal of Date/Time stubs after each test caseRafael Mendonça França2014-01-301-9/+2
* Add `travel_back` to remove stubs from `travel` and `travel_to`Rafael Mendonça França2014-01-301-3/+14
* Use each_valueRafael Mendonça França2014-01-291-1/+1
* Store the singleton_class in a local variableRafael Mendonça França2014-01-291-3/+4
* Change the class and method visibilityRafael Mendonça França2014-01-291-9/+13
* Use instance method instead of before hookRafael Mendonça França2014-01-291-9/+8
* Alias the original method first to avoid warningsRafael Mendonça França2014-01-291-2/+7
* Implement a simple stub feature to use in the Time travel helpersRafael Mendonça França2014-01-291-4/+44
* doc `travel` and `travel_to` stubs are removed in teardown. [ci skip]Yves Senn2013-11-211-4/+4
* Add `#travel` and `#travel_to` to AS::TestCasePrem Sichanugrist2013-11-201-0/+55