Sha256: dba5e062b9d9b11115ff23acd126a124db0b34a2e48701e084772f0bcd9e5cee
Contents?: true
Size: 554 Bytes
Versions: 1
Compression:
Stored size: 554 Bytes
Contents
require "spec_helper" describe Paymill::Request::Connection do describe "#setup_https" do it "creates a https object" do connection = Paymill::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 = Paymill::Request::Connection.new(nil) connection.setup_https connection.stub(:https_request) connection.https.should_receive(:request) connection.request end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
paymill-0.4.0 | spec/paymill/request/connection_spec.rb |