From df6da812e7d425ee50d085f176f3527e262c771d Mon Sep 17 00:00:00 2001 From: Toshi MARUYAMA Date: Sat, 1 Sep 2012 07:25:11 +0000 Subject: [PATCH] Merged r10249 from trunk to 2.0-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/2.0-stable@10270 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 7be1bd855..14f0314b1 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, @@ -766,6 +768,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