aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/testing/time_helpers.rb
Commit message (Expand)AuthorAgeFilesLines
* Remove usage of strip_heredoc in the framework in favor of <<~Rafael Mendonça França2018-02-161-2/+1
* Prevent race condition when resetting time stubsEugene Kenny2017-12-121-1/+2
* [Active Support] require_relative => requireAkira Matsuda2017-10-211-2/+2
* Merge pull request #29860 from georgeclaghorn/travel-back-automaticallyRafael França2017-07-241-1/+8
|\
| * Remove time stubs after each testGeorge Claghorn2017-07-221-1/+8
* | Fix doc format for `ActiveSupport::Testing::TimeHelpers` [ci skip]yuuji.yaginuma2017-07-151-2/+2
|/
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* :scissors:Ryuta Kamizono2017-07-111-1/+0
* Added time helper method `freeze_time` which is an alias for `travel_to Time....प्रथमेश Sonpatki2017-07-101-0/+21
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* [Active Support] require => require_relativeAkira Matsuda2017-07-011-2/+2
* Explicitly require AS::Time in AS::Testing::TimeHelpersT.J. Schuck2017-04-181-0/+1
* Make time travel work with subclasses of Time/Date/DatetimeJonas Nicklas2017-01-101-5/+5
* applies new string literal convention in activesupport/libXavier Noria2016-08-061-2/+2
* `travel/travel_to` travel time helpers, now raise on nested calls,Vipul A M2016-07-021-8/+43
* Create times in rails timezone not system timezone [ci skip]aarongray2016-06-211-3/+3
* A few documentation tweaks [ci skip]Robin Dupret2015-06-071-1/+1
* Small doc fix. [CI SKIP]Guo Xiang Tan2015-03-241-1/+1
* 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