diff options
author | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-20 17:49:47 -0600 |
---|---|---|
committer | Sean Griffin <sean@seantheprogrammer.com> | 2015-10-20 17:49:47 -0600 |
commit | 12df3391e349711569ba0638cadc61445a8c627d (patch) | |
tree | 538e14be6fd3a8f90dc6798c73cadb496aa2d964 /activerecord/test/cases/batches_test.rb | |
parent | ed8bcd6934d0f31c3318df69e12df03a3c81a453 (diff) | |
download | rails-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/batches_test.rb')
0 files changed, 0 insertions, 0 deletions