Sha256: 1d32fc6f95367ab3ccb87bf6ea9b44e09c5e155923b28054b739bb5bc57f927c

Contents?: true

Size: 557 Bytes

Versions: 1

Compression:

Stored size: 557 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
      subject.operations[:save][:input].should == "SaveSoapIn"
    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-2.4.1 spec/wasabi/parser/no_message_parts_spec.rb