Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Asserting hash key order causes failing tests on 1.8

  • Loading branch information...
commit e25cf7bf4e1863b1e328623e5fb707840cb5ba62 1 parent 4963eef
@ezkl authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/typhoeus/header_spec.rb
View
2  spec/typhoeus/header_spec.rb
@@ -13,7 +13,7 @@
let(:options) { { 'Content-Type' => 'text/html', :x_http_header => 'foo', 'X-HTTP-USER' => 'bar' } }
it "normalizes keys" do
- header.keys.should eq(['Content-Type', 'X-Http-Header', 'X-Http-User'])
+ header.keys.should include('Content-Type', 'X-Http-Header', 'X-Http-User')
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.