Permalink
Browse files

Fix spec encoding problem under Ruby 2.0.0.

  • Loading branch information...
1 parent c94aa13 commit 0b5c1f919ec64baa3a3a20d27b7da24e528e9ec7 @ged ged committed Mar 4, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/foreman/process_spec.rb
@@ -41,7 +41,7 @@ def run(process, options={})
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

0 comments on commit 0b5c1f9

Please sign in to comment.