Sha256: a328f91b953c2995e58bd41780c1270175711d1f39d3f7217704ff15f82f39f7
Contents?: true
Size: 334 Bytes
Versions: 5
Compression:
Stored size: 334 Bytes
Contents
require "spec_helper" describe Http2::PostMultipartRequest do it "reads the headers from the request" do with_http do |http| res = http.post_multipart(url: "json_test.rhtml", post: {"test1" => "test2"}) headers = res.request.headers_string expect(headers).to include "POST /json_test.rhtml" end end end
Version data entries
5 entries across 5 versions & 1 rubygems