Set locale in test.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8232 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Jean-Philippe Lang 2011-12-15 12:18:20 +00:00
parent 4f5e7d678e
commit a61c9d53eb
1 changed files with 2 additions and 0 deletions

View File

@ -34,6 +34,8 @@ class GroupTest < ActiveSupport::TestCase
end
def test_blank_name_error_message
I18n.locale = :en
g = Group.new
assert !g.save
assert_include "Name can't be blank", g.errors.full_messages