aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/time_helpers.rb
Commit message (Expand)AuthorAgeFilesLines
* add `DateTime.now` to list of `TimeHelpers#travel_to` stubbing [ci skip]yuuji.yaginuma2015-03-121-9/+11
* Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.nowYuki Nishijima2015-02-031-0/+1
* Merge pull request #17302 from claudiob/replace-slower-block-call-with-faster...Rafael Mendonça França2014-10-181-2/+2
* Revert "Replace (slower) block.call with (faster) yield"Zachary Scott2014-10-181-2/+2
* Replace (slower) block.call with (faster) yieldclaudiob2014-10-181-2/+2
* 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