aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/test/time_travel_test.rb
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #34764 from kamipo/avoid_redundant_beginRyuta Kamizono2018-12-211-41/+33
|\
| * Enable `Style/RedundantBegin` cop to avoid newly adding redundant begin blockRyuta Kamizono2018-12-211-41/+33
* | Add test for `travel_to` with time zoneyuuji.yaginuma2018-12-211-0/+17
|/
* Add #unfreeze_time to ActiveSupport::Testing::TimeHelpersryanwhocodes2018-09-101-0/+4
* Enable `Layout/LeadingCommentSpace` to not allow cosmetic changes in the futureRyuta Kamizono2017-12-141-1/+1
* [Active Support] `rubocop -a --only Layout/EmptyLineAfterMagicComment`Koichi ITO2017-07-111-0/+1
* Added time helper method `freeze_time` which is an alias for `travel_to Time....प्रथमेश Sonpatki2017-07-101-0/+22
* Use frozen-string-literal in ActiveSupportKir Shatrov2017-07-091-0/+1
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Should escape meta characters in regexpRyuta Kamizono2017-05-071-1/+1
* correctly check error messageyuuji.yaginuma2017-01-251-1/+2
* Make time travel work with subclasses of Time/Date/DatetimeJonas Nicklas2017-01-101-0/+19
* applies new string literal convention in activesupport/testXavier Noria2016-08-061-3/+3
* Make sure the time method is unstubedRafael Mendonça França2016-07-171-29/+41
* `travel/travel_to` travel time helpers, now raise on nested calls,Vipul A M2016-07-021-0/+43
* Removed mocha stubbing in active_supportRonak Jangir2015-06-071-46/+54
* as/core_ext require's not usedAnkit Gupta2015-05-081-1/+0
* Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.nowYuki Nishijima2015-02-031-0/+11
* Move date and time requires to time_travel_test, also includeZachary Scott2014-08-191-0/+4
* Move TimeHelperTest to TimeTravelTest from `as/test_test.rb`Zachary Scott2014-08-191-0/+68