From: Toshi MARUYAMA Date: Sat, 1 Sep 2012 05:08:42 +0000 (+0000) Subject: Merged r10249 from trunk to 1.4-stable X-Git-Tag: 1.4.5~24 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=231145160f8857d427cc7d3026ee6e05b8cec0b3;p=redmine.git 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 --- 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