Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix response spec.

  • Loading branch information...
commit eacd61bbdb8c7d83300ab95cc3e978d7557a5eaa 1 parent d9eba49
@dbalatero dbalatero authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  spec/typhoeus/response_spec.rb
View
3  spec/typhoeus/response_spec.rb
@@ -109,6 +109,9 @@
# HTTP version/status line should be identical
orig_header_lines.shift.should == stub_header_lines.shift
+ # "XSS" gets downcased, so we have to fix it here.
+ orig_header_lines.each { |line| line.sub!('XSS', 'Xss') }
+
# we can't count on the header order being identical since ruby hashes are not always ordered
orig_header_lines.should =~ stub_header_lines
end
Please sign in to comment.
Something went wrong with that request. Please try again.