Sha256: 6bab11d1237f6b214b1e9ea42fcdc0af3058e39beb0abaadf813d4d8c1d02580

Contents?: true

Size: 1.55 KB

Versions: 14

Compression:

Stored size: 1.55 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

# WSDL request returning a WSDL document with geotrust SOAP actions.
FakeWeb.register_uri :get, EndpointHelper.wsdl_endpoint(:geotrust), :body => WSDLFixture.geotrust

Version data entries

14 entries across 14 versions & 4 rubygems

Version Path
johnreitano-savon-0.7.7.5 spec/http_stubs.rb
johnreitano-savon-0.7.7.4 spec/http_stubs.rb
johnreitano-savon-0.7.7.3 spec/http_stubs.rb
johnreitano-savon-0.7.7.2 spec/http_stubs.rb
tictoc-savon-0.7.9 spec/http_stubs.rb
pyu-savon-0.7.9.3 spec/http_stubs.rb
johnreitano-savon-0.7.7.1 spec/http_stubs.rb
savon-0.7.9 spec/http_stubs.rb
savon-0.7.8 spec/http_stubs.rb
savon-0.7.7 spec/http_stubs.rb
savon-0.7.6 spec/http_stubs.rb
savon-0.7.5 spec/http_stubs.rb
savon-0.7.4 spec/http_stubs.rb
savon-0.7.3 spec/http_stubs.rb