summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index fd3403709..f6d270410 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -59,7 +59,7 @@ class UserTest < Test::Unit::TestCase
u.login = 'newuser2'
u.password, u.password_confirmation = "password", "password"
assert !u.save
- assert_equal 'activerecord_error_taken', u.errors.on(:mail)
+ assert_equal I18n.translate('activerecord.errors.messages.taken'), u.errors.on(:mail)
end
def test_update