From c9dd7dbe1594c3b861531823a696efe48caa4a44 Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Sun, 18 Jan 2015 20:43:04 +0000 Subject: Set proper locale. git-svn-id: http://svn.redmine.org/redmine/trunk@13912 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/helpers/application_helper_test.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'test') diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 5db4f9573..13a34064f 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -1371,6 +1371,7 @@ RAW def test_principals_options_for_select_with_users_and_groups User.current = nil + set_language_if_valid 'en' users = [User.find(2), Group.find(11), User.find(4), Group.find(10)] assert_equal %() + %(), @@ -1382,6 +1383,7 @@ RAW end def test_principals_options_for_select_should_include_me_option_when_current_user_is_in_collection + set_language_if_valid 'en' users = [User.find(2), User.find(4)] User.current = User.find(4) assert_include '', principals_options_for_select(users) -- cgit v1.2.3