diff options
Diffstat (limited to 'test/functional/timelog_report_test.rb')
-rw-r--r-- | test/functional/timelog_report_test.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/functional/timelog_report_test.rb b/test/functional/timelog_report_test.rb index bfbb35c51..332b13a34 100644 --- a/test/functional/timelog_report_test.rb +++ b/test/functional/timelog_report_test.rb @@ -263,7 +263,7 @@ class TimelogReportTest < Redmine::ControllerTest end assert_response :success assert_equal 'text/csv; header=present', @response.content_type - lines = @response.body.chomp.split("\n") + lines = @response.body.chomp.split("\n") # Headers s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5') s2 = "\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5') @@ -310,7 +310,7 @@ class TimelogReportTest < Redmine::ControllerTest end assert_response :success assert_equal 'text/csv; header=present', @response.content_type - lines = @response.body.chomp.split("\n") + lines = @response.body.chomp.split("\n") # Headers s1 = "\xa5\xce\xa4\xe1,2011-11-11,\xa4u\xae\xc9\xc1`\xadp".force_encoding('Big5') assert_equal s1, lines.first @@ -345,7 +345,7 @@ class TimelogReportTest < Redmine::ControllerTest } assert_response :success assert_equal 'text/csv; header=present', @response.content_type - lines = @response.body.chomp.split("\n") + lines = @response.body.chomp.split("\n") # Headers s1 = "Utilisateur;2011-11-11;Temps total".force_encoding('ISO-8859-1') s2 = "Temps total".force_encoding('ISO-8859-1') |