mirror of
https://github.com/github/rails.git
synced 2026-02-06 04:05:17 -05:00
Fixed documentation and prepared for release of 0.12
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@1216 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user