Sha256: b5e87bce678abe75f468c7989959094ef0961895e852e4de736b9f58124fe608
Contents?: true
Size: 803 Bytes
Versions: 3
Compression:
Stored size: 803 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 == "SaveSoapIn" # 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
3 entries across 3 versions & 2 rubygems
Version | Path |
---|---|
wasabi-3.2.1 | spec/wasabi/parser/no_message_parts_spec.rb |
wasabi-ng-1.6-3.3.0 | spec/wasabi/parser/no_message_parts_spec.rb |
wasabi-3.2.0 | spec/wasabi/parser/no_message_parts_spec.rb |