diff options
-rw-r--r-- | test/coverage/html_formatter.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/coverage/html_formatter.rb b/test/coverage/html_formatter.rb index 2ae85bd30..9da488fb0 100644 --- a/test/coverage/html_formatter.rb +++ b/test/coverage/html_formatter.rb @@ -26,11 +26,11 @@ module Redmine class HtmlFormatter def format(result) File.open(File.join(output_path, "index.html"), "w") do |file| - file.puts template('index').result(binding).force_encoding('utf-8') + file.puts template('index').result(binding) end result.source_files.each do |source_file| File.open(File.join(output_path, source_file_result(source_file)), "w") do |file| - file.puts template('source').result(binding) + file.puts template('source').result(binding).force_encoding('utf-8') end end end |