Sha256: a82d7bd2fda35728dc57f3436af2770906caa291cf9218c548bcc19d515c0d0a
Contents?: true
Size: 522 Bytes
Versions: 13
Compression:
Stored size: 522 Bytes
Contents
# frozen_string_literal: true require 'spec_helper' describe Ethon::Multi do describe ".new" do it "inits curl" do expect(Ethon::Curl).to receive(:init) Ethon::Multi.new end context "when options not empty" do context "when pipelining is set" do let(:options) { { :pipelining => true } } it "sets pipelining" do expect_any_instance_of(Ethon::Multi).to receive(:pipelining=).with(true) Ethon::Multi.new(options) end end end end end
Version data entries
13 entries across 13 versions & 5 rubygems