Sha256: 16dff5949296c415daa4c2b41d16f238f4d2484ffe9319eccdaf246e510bc7af

Contents?: true

Size: 551 Bytes

Versions: 4

Compression:

Stored size: 551 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 == "Save"
    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

4 entries across 4 versions & 1 rubygems

Version Path
wasabi-3.1.0 spec/wasabi/parser/no_message_parts_spec.rb
wasabi-3.0.0 spec/wasabi/parser/no_message_parts_spec.rb
wasabi-2.5.1 spec/wasabi/parser/no_message_parts_spec.rb
wasabi-2.5.0 spec/wasabi/parser/no_message_parts_spec.rb