Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | `travel/travel_to` travel time helpers, now raise on nested calls, | Vipul A M | 2016-07-02 | 1 | -0/+43 |
| | | | | | | | | | | | | | | | | | | | | | | | | | as this can lead to confusing time stubbing. Instead of: travel_to 2.days.from_now do # 2 days from today travel_to 3.days.from_now do # 5 days from today end end preferred way to achieve above is: travel_to 2.days.from_now # 2 days from today travel_back travel_to 5.days.from_now # 5 days from today Closes #24690 Fixes #24689 | ||||
* | Removed mocha stubbing in active_support | Ronak Jangir | 2015-06-07 | 1 | -46/+54 |
| | |||||
* | as/core_ext require's not used | Ankit Gupta | 2015-05-08 | 1 | -1/+0 |
| | |||||
* | Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now | Yuki Nishijima | 2015-02-03 | 1 | -0/+11 |
| | |||||
* | Move date and time requires to time_travel_test, also include | Zachary Scott | 2014-08-19 | 1 | -0/+4 |
| | | | | | | 'abstract_unit'. cc #16564 | ||||
* | Move TimeHelperTest to TimeTravelTest from `as/test_test.rb` | Zachary Scott | 2014-08-19 | 1 | -0/+68 |