diff options
Diffstat (limited to 'activerecord/test')
-rwxr-xr-x | activerecord/test/validations_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activerecord/test/validations_test.rb b/activerecord/test/validations_test.rb index a661193a98..585cad39bd 100755 --- a/activerecord/test/validations_test.rb +++ b/activerecord/test/validations_test.rb @@ -66,7 +66,7 @@ class ValidationsTest < Test::Unit::TestCase def test_invalid_record_exception r = Reply.new - assert_raises(ActiveRecord::InvalidRecord) { r.save! } + assert_raises(ActiveRecord::RecordInvalid) { r.save! } end def test_single_error_per_attr_iteration |