diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-15 12:18:20 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2011-12-15 12:18:20 +0000 |
commit | a61c9d53eb9c3e64c5aee4d43698779aca1af9d3 (patch) | |
tree | 34c25135136f6c58a9990f1f9512dab15dc41176 /test/unit/group_test.rb | |
parent | 4f5e7d678e5d9d9151c3d0f7daeaa0714272df39 (diff) | |
download | redmine-a61c9d53eb9c3e64c5aee4d43698779aca1af9d3.tar.gz redmine-a61c9d53eb9c3e64c5aee4d43698779aca1af9d3.zip |
Set locale in test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8232 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/group_test.rb')
-rw-r--r-- | test/unit/group_test.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/unit/group_test.rb b/test/unit/group_test.rb index 2aecc578a..0bb55714c 100644 --- a/test/unit/group_test.rb +++ b/test/unit/group_test.rb @@ -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 |