diff options
author | Federico Ravasio <ravasio.federico@gmail.com> | 2013-08-23 09:57:10 +0200 |
---|---|---|
committer | Federico Ravasio <ravasio.federico@gmail.com> | 2013-11-24 14:40:33 +0100 |
commit | 5f6b7c96fb3388bdd8488282f303f2e058c5a8fa (patch) | |
tree | ffa48e82fde4a8a85cc0e59b25953383c398e439 /activemodel | |
parent | a0f1e6a27ae1a9593c107296d132b4c5605a7175 (diff) | |
download | rails-5f6b7c96fb3388bdd8488282f303f2e058c5a8fa.tar.gz rails-5f6b7c96fb3388bdd8488282f303f2e058c5a8fa.tar.bz2 rails-5f6b7c96fb3388bdd8488282f303f2e058c5a8fa.zip |
Use NameError#name to assert raised error.
This makes the test compatible with other Ruby implementations, which
may implement error messages differently.
Diffstat (limited to 'activemodel')
0 files changed, 0 insertions, 0 deletions