net-http no longer requires stringio
This commit is contained in:
parent
f2d6fa16e1
commit
ddc29e2989
@ -30,6 +30,7 @@ describe "Net::HTTP.get" do
|
||||
describe "when reading gzipped contents" do
|
||||
def start_threads
|
||||
require 'zlib'
|
||||
require 'stringio'
|
||||
|
||||
server = nil
|
||||
server_thread = Thread.new do
|
||||
|
@ -1,5 +1,6 @@
|
||||
require_relative '../../../../spec_helper'
|
||||
require 'net/http'
|
||||
require 'stringio'
|
||||
|
||||
describe "Net::HTTPResponse#read_body" do
|
||||
before :each do
|
||||
|
@ -1,5 +1,6 @@
|
||||
require_relative '../../../../spec_helper'
|
||||
require 'net/http'
|
||||
require 'stringio'
|
||||
|
||||
describe "Net::HTTPResponse.read_new" do
|
||||
it "creates a HTTPResponse object based on the response read from the passed socket" do
|
||||
|
@ -1,3 +1,5 @@
|
||||
require 'stringio'
|
||||
|
||||
describe :net_httpresponse_body, shared: true do
|
||||
before :each do
|
||||
@res = Net::HTTPUnknownResponse.new("1.0", "???", "test response")
|
||||
|
Loading…
x
Reference in New Issue
Block a user