spec/session_ssl_spec.rb in patron-0.12.1 vs spec/session_ssl_spec.rb in patron-0.13.1

- old
+ new

@@ -71,10 +71,12 @@ expect(body.header["x-test"]).to be == ["Testing"] end it "should raise an exception on timeout" do @session.timeout = 1 - expect {@session.get("/timeout")}.to raise_error(Patron::TimeoutError) + expect { + @session.get("/timeout?millis=1100") + }.to raise_error(Patron::TimeoutError) end it "should follow redirects by default" do @session.max_redirects = 1 response = @session.get("/redirect")