Skip to content
Browse files

Asserting hash key order causes failing tests on 1.8

  • Loading branch information...
1 parent 4963eef commit e25cf7bf4e1863b1e328623e5fb707840cb5ba62 @ezkl committed
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

0 comments on commit e25cf7b

Please sign in to comment.
Something went wrong with that request. Please try again.