Sha256: b7bbb89cc529e38fcd1a5774fd4fce0f8351a69f955da6c6dedc5409097fa1a9
Contents?: true
Size: 797 Bytes
Versions: 1
Compression:
Stored size: 797 Bytes
Contents
require 'spec_helper' describe Wasabi::Parser do context 'with: no_message_parts.wsdl' do subject do parser = Wasabi::Parser.new Nokogiri::XML(xml) parser.parse parser end let(:xml) { fixture(:no_message_parts).read } it 'falls back to using the message type in the port element' do # Operation's input has no part element in the message, so using the message type. subject.operations[:save][:input].should == 'Save' # Operation's output has part element in the message, so using part element's type. subject.operations[:save][:output].should == 'SaveResponse' end it 'falls back to using the namespace ID in the port element' do subject.operations[:save][:namespace_identifier].should == 'actions' end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
wasabi-3.2.3 | spec/wasabi/parser/no_message_parts_spec.rb |