]> source.dussan.org Git - redmine.git/commitdiff
fix tests (#13120)
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 18 Jan 2015 18:00:38 +0000 (18:00 +0000)
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>
Sun, 18 Jan 2015 18:00:38 +0000 (18:00 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@13910 e93f8b46-1217-0410-a6f0-8f06a7374b81

test/functional/time_entry_reports_controller_test.rb
test/unit/lib/redmine/i18n_test.rb

index 6faadd2dfd25a922357affbf6bec40ba3e2fe615..33df12e1d576c925212c7b718ef3815a5c5e6ff8 100644 (file)
@@ -341,7 +341,7 @@ class TimeEntryReportsControllerTest < ActionController::TestCase
       assert_equal "#{user.firstname} #{user.lastname};7,30;7,30", lines[1]
       assert_equal "#{s2};7,30;7,30", lines[2]
 
-      str_fr = "Fran\xc3\xa7ais".force_encoding('UTF-8')
+      str_fr = "French (Fran\xc3\xa7ais)".force_encoding('UTF-8')
       assert_equal str_fr, l(:general_lang_name)
       assert_equal 'ISO-8859-1', l(:general_csv_encoding)
       assert_equal ';', l(:general_csv_separator)
index 6f3d21cde8da253e3969009be1e8d609f80866c2..bf94e14afd6fab238053453e3c4eead25700c3c4 100644 (file)
@@ -258,7 +258,7 @@ class Redmine::I18nTest < ActiveSupport::TestCase
 
   def test_french_locale
     set_language_if_valid 'fr'
-    str_fr = "Fran\xc3\xa7ais".force_encoding('UTF-8')
+    str_fr = "French (Fran\xc3\xa7ais)".force_encoding('UTF-8')
     assert_equal str_fr, l(:general_lang_name)
   end
 end