index
:
rails.git
3-2-stable-for-hmno
master
Mirror of official rails repo with custom fixes.
Harald Eilertsen
about
summary
refs
log
tree
commit
diff
stats
log msg
author
committer
range
path:
root
/
activesupport
/
lib
/
active_support
/
testing
/
time_helpers.rb
Commit message (
Expand
)
Author
Age
Files
Lines
*
Small doc fix. [CI SKIP]
Guo Xiang Tan
2015-03-24
1
-1
/
+1
*
add `DateTime.now` to list of `TimeHelpers#travel_to` stubbing [ci skip]
yuuji.yaginuma
2015-03-12
1
-9
/
+11
*
Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now
Yuki Nishijima
2015-02-03
1
-0
/
+1
*
Merge pull request #17302 from claudiob/replace-slower-block-call-with-faster...
Rafael Mendonça França
2014-10-18
1
-2
/
+2
*
Revert "Replace (slower) block.call with (faster) yield"
Zachary Scott
2014-10-18
1
-2
/
+2
*
Replace (slower) block.call with (faster) yield
claudiob
2014-10-18
1
-2
/
+2
*
Fix rounding errors with #travel_to by resetting the usec on any passed time ...
David Heinemeier Hansson
2014-08-17
1
-1
/
+5
*
travel_to travels back and re-raises if the block raises
Xavier Noria
2014-02-18
1
-3
/
+6
*
time helpers honor the application time zone when passed a date
Xavier Noria
2014-02-18
1
-4
/
+19
*
Improve documentation [ci skip]
Rafael Mendonça França
2014-01-30
1
-3
/
+4
*
Remove automatic removal of Date/Time stubs after each test case
Rafael Mendonça França
2014-01-30
1
-9
/
+2
*
Add `travel_back` to remove stubs from `travel` and `travel_to`
Rafael Mendonça França
2014-01-30
1
-3
/
+14
*
Use each_value
Rafael Mendonça França
2014-01-29
1
-1
/
+1
*
Store the singleton_class in a local variable
Rafael Mendonça França
2014-01-29
1
-3
/
+4
*
Change the class and method visibility
Rafael Mendonça França
2014-01-29
1
-9
/
+13
*
Use instance method instead of before hook
Rafael Mendonça França
2014-01-29
1
-9
/
+8
*
Alias the original method first to avoid warnings
Rafael Mendonça França
2014-01-29
1
-2
/
+7
*
Implement a simple stub feature to use in the Time travel helpers
Rafael Mendonça França
2014-01-29
1
-4
/
+44
*
doc `travel` and `travel_to` stubs are removed in teardown. [ci skip]
Yves Senn
2013-11-21
1
-4
/
+4
*
Add `#travel` and `#travel_to` to AS::TestCase
Prem Sichanugrist
2013-11-20
1
-0
/
+55