Sha256: 745fed3285b51a9b9f25d0676f72327d9bd5f68dd28a8ab235ed55d3b5375380
Contents?: true
Size: 1.38 KB
Versions: 13
Compression:
Stored size: 1.38 KB
Contents
FakeWeb.allow_net_connect = false # Some WSDL and SOAP request. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint, :body => WSDLFixture.authentication FakeWeb.register_uri :post, EndpointHelper.soap_endpoint, :body => ResponseFixture.authentication # WSDL and SOAP request with a Savon::SOAPFault. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:soap_fault), :body => WSDLFixture.authentication FakeWeb.register_uri :post, EndpointHelper.soap_endpoint(:soap_fault), :body => ResponseFixture.soap_fault # WSDL and SOAP request with a Savon::HTTPError. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:http_error), :body => WSDLFixture.authentication FakeWeb.register_uri :post, EndpointHelper.soap_endpoint(:http_error), :body => "", :status => ["404", "Not Found"] # WSDL and SOAP request with an invalid endpoint. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:invalid), :body => "" FakeWeb.register_uri :post, EndpointHelper.soap_endpoint(:invalid), :body => "", :status => ["404", "Not Found"] # WSDL request returning a WSDL document where the main sections are not namespaced. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:no_namespace), :body => WSDLFixture.no_namespace # WSDL request returning a WSDL document with namespaced SOAP actions. FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:namespaced_actions), :body => WSDLFixture.namespaced_actions
Version data entries
13 entries across 13 versions & 4 rubygems