Merge pull request #335 from ged/20_encoding_fix

Fix spec encoding problem under Ruby 2.0.0.
This commit is contained in:
David Dollar
2013-03-08 11:40:50 -08:00
+1 -1
View File
@@ -41,7 +41,7 @@ describe Foreman::Process do
it "should output utf8 properly" do
process = Foreman::Process.new(resource_path("bin/utf8"))
run(process).should == "\xFF\x03\n"
run(process).should == "\xFF\x03\n".force_encoding('binary')
end
end