Sha256: 0f7e93f537b34bc6a50fdd6ea7c79d3d28cd8c2e84dfada3da14f962420a1eaf

Contents?: true

Size: 1.14 KB

Versions: 5

Compression:

Stored size: 1.14 KB

Contents

class SpecHelper

  @soap_call_endpoint = "http://services.example.com/UserService"
  @some_endpoint = @soap_call_endpoint + "?wsdl"
  @some_endpoint_uri = URI @some_endpoint

  @soap_multiple_endpoint = "http://multiple.example.com/UserService"
  @multiple_endpoint = @soap_multiple_endpoint + "?wsdl"

  @soap_soapfault_endpoint = "http://soapfault.example.com/UserService"
  @soapfault_endpoint = @soap_soapfault_endpoint + "?wsdl"

  @soap_httperror_endpoint = "http://httperror.example.com/UserService"
  @httperror_endpoint = @soap_httperror_endpoint + "?wsdl"

  @soap_invalid_endpoint = "http://invalid.example.com/UserService"
  @invalid_endpoint = @soap_invalid_endpoint + "?wsdl"
  
  @wsse_security_nodes =  ["wsse:Security", "wsse:UsernameToken",
    "wsse:Username", "wsse:Password", "wsse:Nonce", "wsu:Created"]

  class << self

    attr_accessor :soap_call_endpoint, :some_endpoint, :some_endpoint_uri,
      :soap_multiple_endpoint , :multiple_endpoint,
      :soap_soapfault_endpoint, :soapfault_endpoint,
      :soap_httperror_endpoint, :httperror_endpoint,
      :soap_invalid_endpoint, :invalid_endpoint,
      :wsse_security_nodes

  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
savon-0.6.3 spec/spec_helper_methods.rb
savon-0.6.2 spec/spec_helper_methods.rb
savon-0.6.1 spec/spec_helper_methods.rb
savon-0.6.0 spec/spec_helper_methods.rb
savon-0.5.3 spec/spec_helper_methods.rb