Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix spec encoding problem under Ruby 2.0.0.

  • Loading branch information...
commit 0b5c1f919ec64baa3a3a20d27b7da24e528e9ec7 1 parent c94aa13
@ged ged authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/foreman/process_spec.rb
View
2  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
Please sign in to comment.
Something went wrong with that request. Please try again.