From a57ddc58ac4e7a8b058cdaa0179cd897c2960c83 Mon Sep 17 00:00:00 2001 From: Yuki Nishijima Date: Sat, 31 Jan 2015 17:37:11 -0800 Subject: Change AS::Testing::TimeHelpers#travel_to to also stub DateTime.now --- activesupport/CHANGELOG.md | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'activesupport/CHANGELOG.md') 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. -- cgit v1.2.3