Sha256: 3341efd869fe48ff657bd0b78e0eef4f0af53fa29a083ee68f9a942dd308109f
Contents?: true
Size: 790 Bytes
Versions: 3
Compression:
Stored size: 790 Bytes
Contents
require 'spec_helper' describe 'Integration with IWS' do subject(:client) { Sekken.new fixture('wsdl/iws') } it 'returns a map of services and ports' do expect(client.services).to eq( 'IWSIntegERPservice' => { ports: { 'IWSIntegERPPort' => { type: 'http://schemas.xmlsoap.org/wsdl/soap/', location: 'http://177.75.152.221:8084/WSIntegERP/WSIntegERP.exe/soap/IWSIntegERP' } } } ) end it 'raises an error because RPC/encoded operations are not ' do service, port = 'IWSIntegERPservice', 'IWSIntegERPPort' expect { client.operation(service, port, 'Autenticacao') }. to raise_error(Sekken::UnsupportedStyleError, /"Autenticacao" is an "rpc\/encoded" style operation/) end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
sekken-0.3.0 | spec/integration/iws_spec.rb |
sekken-0.2.0 | spec/integration/iws_spec.rb |
sekken-0.1.0 | spec/integration/iws_spec.rb |