diff options
Diffstat (limited to 'activerecord/test/validations_test.rb')
-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 d0c54d1528..4b91d86b18 100755 --- a/activerecord/test/validations_test.rb +++ b/activerecord/test/validations_test.rb @@ -661,7 +661,7 @@ class ValidationsTest < Test::Unit::TestCase end end - def test_validates_length_with_globaly_modified_error_message + def test_validates_length_with_globally_modified_error_message ActiveRecord::Errors.default_error_messages[:too_short] = 'tu est trops petit hombre %d' Topic.validates_length_of :title, :minimum => 10 t = Topic.create(:title => 'too short') |