Fix spec encoding problem under Ruby 2.0.0.
This commit is contained in:
1 parent
c94aa13b06
commit
0b5c1f919e
1 file changed
+1
-1
@@ -41,7 +41,7 @@ describe Foreman::Process do
|
|||||||
|
|
||||||
it "should output utf8 properly" do
|
it "should output utf8 properly" do
|
||||||
process = Foreman::Process.new(resource_path("bin/utf8"))
|
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
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user