Sha256: 8667bcf51b79715bbe400896737c72d0f90ceb9ea86e03a2ddd080dfca16cbf1
Contents?: true
Size: 560 Bytes
Versions: 8
Compression:
Stored size: 560 Bytes
Contents
require "spec_helper" describe Shipcloud::Request::Connection do describe "#setup_https" do it "creates a https object" do connection = Shipcloud::Request::Connection.new(nil) connection.setup_https connection.https.should_not be_nil end end describe "#request" do it "performs the actual request" do connection = Shipcloud::Request::Connection.new(nil) connection.setup_https connection.stub(:https_request) connection.https.should_receive(:request) connection.request end end end
Version data entries
8 entries across 8 versions & 1 rubygems