diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-03 16:30:06 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2015-02-03 16:30:06 -0200 |
commit | ff8bc503c04c0d7fe50d03b8d7442b881a20170a (patch) | |
tree | 6e37bdd1d2a454a59d8cf57fbd9c0de66ca5b90d /activesupport/CHANGELOG.md | |
parent | e30cb83c7a063302c2fc1b4f913ae7d50f594425 (diff) | |
parent | a57ddc58ac4e7a8b058cdaa0179cd897c2960c83 (diff) | |
download | rails-ff8bc503c04c0d7fe50d03b8d7442b881a20170a.tar.gz rails-ff8bc503c04c0d7fe50d03b8d7442b881a20170a.tar.bz2 rails-ff8bc503c04c0d7fe50d03b8d7442b881a20170a.zip |
Merge pull request #18758 from yuki24/change-travel-to-stub-datetime-too
Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 367e857d27..2a4ed394a0 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,8 @@ +* `AS::Testing::TimeHelpers#travel_to` now changes `DateTime.now` as well as + `Time.now` and `Date.today`. + + *Yuki Nishijima* + * Add `file_fixture` to `ActiveSupport::TestCase`. It provides a simple mechanism to access sample files in your test cases. |