Skip to content

Commit

Permalink
Fixed an byte stream error using ruby 1.9.2 in the test helper.
Browse files Browse the repository at this point in the history
  • Loading branch information
soerentorp committed Sep 11, 2011
1 parent 91bcc6a commit deca4a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Expand Up @@ -54,7 +54,7 @@ module Lookup
class Base
private #-----------------------------------------------------------------
def read_fixture(file)
File.read(File.join("test", "fixtures", file)).strip.gsub(/\n\s*/, "")
File.read(File.join("test", "fixtures", file), :encoding => "UTF-8").strip.gsub(/\n\s*/, "")
end
end

Expand Down

0 comments on commit deca4a8

Please sign in to comment.