aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/attribute_methods_test.rb
diff options
context:
space:
mode:
authorSean Griffin <sean@seantheprogrammer.com>2015-10-20 17:49:47 -0600
committerSean Griffin <sean@seantheprogrammer.com>2015-10-20 17:49:47 -0600
commit12df3391e349711569ba0638cadc61445a8c627d (patch)
tree538e14be6fd3a8f90dc6798c73cadb496aa2d964 /activerecord/test/cases/attribute_methods_test.rb
parented8bcd6934d0f31c3318df69e12df03a3c81a453 (diff)
downloadrails-12df3391e349711569ba0638cadc61445a8c627d.tar.gz
rails-12df3391e349711569ba0638cadc61445a8c627d.tar.bz2
rails-12df3391e349711569ba0638cadc61445a8c627d.zip
Fix test failures caused by #19851
The error message when asserting `greater_than: BigDecimal.new` will give an error message based on how BigDecimal displays itself. Big decimal appears to always use scientific notation. This might not be the best error message for the general case, but the general case wouldn't use big decimal for the validation. And if they do, they likely need this level of precision.
Diffstat (limited to 'activerecord/test/cases/attribute_methods_test.rb')
0 files changed, 0 insertions, 0 deletions