diff options
author | José Valim <jose.valim@gmail.com> | 2010-12-19 09:34:31 +0100 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2010-12-19 09:34:31 +0100 |
commit | 432556b9238b182dbd380a8f9936e3ca5dc6fa57 (patch) | |
tree | e6c528fb7bc49c03a605c68b3e1eedbbad10a9ca /activemodel/test | |
parent | b8f6dd8cbb2de870a4805800fd89148a417bc612 (diff) | |
download | rails-432556b9238b182dbd380a8f9936e3ca5dc6fa57.tar.gz rails-432556b9238b182dbd380a8f9936e3ca5dc6fa57.tar.bz2 rails-432556b9238b182dbd380a8f9936e3ca5dc6fa57.zip |
Make password messages translatable.
Diffstat (limited to 'activemodel/test')
-rw-r--r-- | activemodel/test/cases/secure_password_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/activemodel/test/cases/secure_password_test.rb b/activemodel/test/cases/secure_password_test.rb index c46a092d2d..e75bfca02a 100644 --- a/activemodel/test/cases/secure_password_test.rb +++ b/activemodel/test/cases/secure_password_test.rb @@ -36,7 +36,7 @@ class SecurePasswordTest < ActiveModel::TestCase test "too weak passwords" do @user.password = "012345" assert !@user.valid? - assert_equal ["must be longer than 6 characters"], @user.errors[:password] + assert_equal ["is too short (minimum is 7 characters)"], @user.errors[:password] @user.password = "password" assert !@user.valid? |