diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-30 04:19:00 -0800 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-01-30 04:19:00 -0800 |
commit | db6f69fd2a35dde23ab8a9b8fad6071043ac8954 (patch) | |
tree | c36d39f66c220c8041ddd72efff3264275adf4b5 /activesupport/CHANGELOG.md | |
parent | 7f5466d58299db35a3d320e0b526001ae3be11a7 (diff) | |
parent | fa1f20e6549f962112948f5b3c27d09ab5e5faaf (diff) | |
download | rails-db6f69fd2a35dde23ab8a9b8fad6071043ac8954.tar.gz rails-db6f69fd2a35dde23ab8a9b8fad6071043ac8954.tar.bz2 rails-db6f69fd2a35dde23ab8a9b8fad6071043ac8954.zip |
Merge pull request #13884 from rafaelfranca/rm-travel-back
Add `travel_back` to remove stubs from `travel` and `travel_to` and remove auto-rollback after each test case
Diffstat (limited to 'activesupport/CHANGELOG.md')
-rw-r--r-- | activesupport/CHANGELOG.md | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/activesupport/CHANGELOG.md b/activesupport/CHANGELOG.md index 008d71701c..17890b2668 100644 --- a/activesupport/CHANGELOG.md +++ b/activesupport/CHANGELOG.md @@ -1,3 +1,15 @@ +* Remove behavior that automatically remove the Date/Time stubs, added by `travel` + and `travel_to` methods, after each test case. + + Now users have to use the `travel_back` or the block version of `travel` and + `travel_to` methods to clean the stubs. + + *Rafael Mendonça França* + +* Add `travel_back` to remove stubs from `travel` and `travel_to`. + + *Rafael Mendonça França* + * Remove the deprecation about the `#filter` method. Filter objects should now rely on method corresponding to the filter type |