Project

General

Profile

Feature #4050 » 0011-Process-fixtures-as-binary.patch

Alexey Froloff, 2009-10-18 12:52

View differences:

test/unit/lib/redmine/unified_diff_test.rb
37 37
  private
38 38
  
39 39
  def read_diff_fixture(filename)
40
    File.new(File.join(File.dirname(__FILE__), '/../../../fixtures/diffs', filename)).read
40
    File.new(File.join(File.dirname(__FILE__), '/../../../fixtures/diffs', filename)).read.force_encoding(Encoding::BINARY)
41 41
  end
42 42
end
(11-11/14)