require_relative '../../../../spec_helper' require 'net/http' describe "Net::HTTPResponse.read_new" do it "creates a HTTPResponse object based on the response read from the passed socket" do socket = Net::BufferedIO.new(StringIO.new(<