Sha256: 4273c49ee8428db00a088347b7ee446d86d3e8a00486d54cbda12b5cdd2f16df
Contents?: true
Size: 482 Bytes
Versions: 12
Compression:
Stored size: 482 Bytes
Contents
require "spec_helper" describe Savon::WSDL::Request do let(:http_request) { HTTPI::Request.new :url => Endpoint.wsdl } let(:request) { Savon::WSDL::Request.new http_request } describe "#response" do it "execute an HTTP GET request and return the HTTPI::Response" do response = HTTPI::Response.new 200, {}, Fixture.response(:authentication) HTTPI.expects(:get).with(http_request).returns(response) request.response.should == response end end end
Version data entries
12 entries across 12 versions & 3 rubygems