]> source.dussan.org Git - redmine.git/commitdiff
use English in test (#18276)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Nov 2014 23:43:17 +0000 (23:43 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Tue, 4 Nov 2014 23:43:17 +0000 (23:43 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13559 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/unit/query_test.rb

index bf3dcd5e89298f920d08b3d355fa1b708b41a838..b8bf2a0159d51349ba3219696671a943161ca6aa 100644 (file)
@@ -1417,6 +1417,7 @@ class QueryTest < ActiveSupport::TestCase
   end
 
   def test_query_column_should_accept_a_symbol_as_caption
+    set_language_if_valid 'en'
     c = QueryColumn.new('foo', :caption => :general_text_Yes)
     assert_equal 'Yes', c.caption
   end