From 231145160f8857d427cc7d3026ee6e05b8cec0b3 Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 1 Sep 2012 05:08:42 +0000 Subject: [PATCH] Merged r10249 from trunk to 1.4-stable set language en to test_label_for at test/unit/query_test.rb. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/branches/1.4-stable@10260 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- test/unit/query_test.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/test/unit/query_test.rb b/test/unit/query_test.rb index 87b426ecb..222b044bb 100644 --- a/test/unit/query_test.rb +++ b/test/unit/query_test.rb @@ -18,6 +18,8 @@ require File.expand_path('../../test_helper', __FILE__) class QueryTest < ActiveSupport::TestCase + include Redmine::I18n + fixtures :projects, :enabled_modules, :users, :members, :member_roles, :roles, :trackers, :issue_statuses, :issue_categories, :enumerations, :issues, @@ -757,6 +759,7 @@ class QueryTest < ActiveSupport::TestCase end def test_label_for + set_language_if_valid 'en' q = Query.new assert_equal 'Assignee', q.label_for('assigned_to_id') end -- 2.39.5