spec/response_spec.rb in patron-0.4.4 vs spec/response_spec.rb in patron-0.4.5

- old
+ new

@@ -35,6 +35,11 @@ it "should strip extra spaces from header values" do response = @session.get("/test") # All digits, no spaces response.headers['Content-Length'].should match(/^\d+$/) end + + it "should combine header values sent in different fields with same name" do + response = @session.get("/repetitiveheader") + response.headers['Set-Cookie'].should == "a=1,b=2" + end end