diff options
author | Andrew White <andrew.white@unboxed.co> | 2017-01-12 09:56:58 +0000 |
---|---|---|
committer | Andrew White <andrew.white@unboxed.co> | 2017-01-12 10:05:16 +0000 |
commit | 2a5ae2b714046d3f7eb1219eb366cf84c1cf9bb5 (patch) | |
tree | 8d26f01eb9633e9a5b7c568e771c28aa75ffdbd2 /railties/lib/rails/railtie.rb | |
parent | b70fc698e157f2a768ba42efac08c08f4786b01c (diff) | |
download | rails-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 'railties/lib/rails/railtie.rb')
0 files changed, 0 insertions, 0 deletions