aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport/lib/active_support/core_ext/integer/time.rb
diff options
context:
space:
mode:
authorAndrew White <andrew.white@unboxed.co>2017-01-12 09:56:58 +0000
committerAndrew White <andrew.white@unboxed.co>2017-01-12 10:05:16 +0000
commit2a5ae2b714046d3f7eb1219eb366cf84c1cf9bb5 (patch)
tree8d26f01eb9633e9a5b7c568e771c28aa75ffdbd2 /activesupport/lib/active_support/core_ext/integer/time.rb
parentb70fc698e157f2a768ba42efac08c08f4786b01c (diff)
downloadrails-2a5ae2b714046d3f7eb1219eb366cf84c1cf9bb5.tar.gz
rails-2a5ae2b714046d3f7eb1219eb366cf84c1cf9bb5.tar.bz2
rails-2a5ae2b714046d3f7eb1219eb366cf84c1cf9bb5.zip
Add additional tests for #27610
Since 1.month no longer equals 30.days add some tests to ensure that addition maintains the same day in the month or is the last day in the month if the month has less days than the current day. Also add a test for the behaviour of 12.months == 1.year.
Diffstat (limited to 'activesupport/lib/active_support/core_ext/integer/time.rb')
0 files changed, 0 insertions, 0 deletions