diff options
author | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-23 18:55:46 -0300 |
---|---|---|
committer | Carlos Antonio da Silva <carlosantoniodasilva@gmail.com> | 2012-06-24 19:30:05 -0300 |
commit | feec54b781fc59b9771c6b5aeaf424914a165bff (patch) | |
tree | 63a32ae0c62dcd028b9cc3f0a168f446e303e85f /activerecord/test/cases/base_test.rb | |
parent | 36d863ce51f4c6526f9bbbd871c2c5f5de1565fb (diff) | |
download | rails-feec54b781fc59b9771c6b5aeaf424914a165bff.tar.gz rails-feec54b781fc59b9771c6b5aeaf424914a165bff.tar.bz2 rails-feec54b781fc59b9771c6b5aeaf424914a165bff.zip |
Refactor AV number helper tests with invalid numbers
Just make use of the returning exception from assert_raise, instead of
calling the method again with a rescue clause to test the saved
exception number.
Diffstat (limited to 'activerecord/test/cases/base_test.rb')
0 files changed, 0 insertions, 0 deletions