diff options
author | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-09-16 18:36:49 +0300 |
---|---|---|
committer | bogdanvlviv <bogdanvlviv@gmail.com> | 2017-10-24 21:17:54 +0300 |
commit | f2c1e3a793570584d9708aaee387214bc3543530 (patch) | |
tree | 71049e85a851592601961f7f0dd0e38f6ac62215 /activesupport/test/core_ext/time_ext_test.rb | |
parent | 61ac2167eff741bffb44aec231f4ea13d004134e (diff) | |
download | rails-f2c1e3a793570584d9708aaee387214bc3543530.tar.gz rails-f2c1e3a793570584d9708aaee387214bc3543530.tar.bz2 rails-f2c1e3a793570584d9708aaee387214bc3543530.zip |
Allows pass argument for `Time#prev_month` and `Time#next_month`
Diffstat (limited to 'activesupport/test/core_ext/time_ext_test.rb')
-rw-r--r-- | activesupport/test/core_ext/time_ext_test.rb | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/activesupport/test/core_ext/time_ext_test.rb b/activesupport/test/core_ext/time_ext_test.rb index dc2f4c5ac7..b720e32022 100644 --- a/activesupport/test/core_ext/time_ext_test.rb +++ b/activesupport/test/core_ext/time_ext_test.rb @@ -664,10 +664,6 @@ class TimeExtCalculationsTest < ActiveSupport::TestCase end end - def test_last_month_on_31st - assert_equal Time.local(2004, 2, 29), Time.local(2004, 3, 31).last_month - end - def test_xmlschema_is_available assert_nothing_raised { Time.now.xmlschema } end |