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

Version Path
savon-xaop-0.7.2.7 spec/http_stubs.rb
savon-xaop-0.7.2.6 spec/http_stubs.rb
savon-xaop-0.7.2.5 spec/http_stubs.rb
johnreitano-savon-0.7.2.1 spec/http_stubs.rb
savon-xaop-0.7.2.4 spec/http_stubs.rb
savon-xaop-0.7.2.3 spec/http_stubs.rb
savon-xaop-0.7.2.2 spec/http_stubs.rb
savon-xaop-0.7.2.1 spec/http_stubs.rb
savon-0.7.2 spec/http_stubs.rb
savon-0.7.1 spec/http_stubs.rb
savon-0.7.0 spec/http_stubs.rb
julianmorrison-savon-0.6.8 spec/http_stubs.rb
savon-0.6.8 spec/http_stubs.rb