Sha256: 126162119c08570dfdb41be81e1ee002994fe930a3c23c227e25aa51a37eea87

Contents?: true

Size: 569 Bytes

Versions: 7

Compression:

Stored size: 569 Bytes

Contents

require "spec_helper"

describe Wasabi::Parser do
  context "with: symbolic_endpoint.wsdl" do

    subject do
      parser = Wasabi::Parser.new Nokogiri::XML(xml)
      parser.parse
      parser
    end

    let(:xml) { fixture(:symbolic_endpoint).read }

    it "allows symbolic endpoints" do
      subject.endpoint.should be_nil
    end

    it "should position base class attributes before subclass attributes in :order! array" do
      type = subject.types["ROPtsLiesListe"]
      type[:order!].should == ["messages", "returncode", "listenteil"]
    end

  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
wasabi-3.3.0 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi_with_adapter-3.2.4 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi-3.2.3 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi-3.2.2 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi-3.2.1 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi-ng-1.6-3.3.0 spec/wasabi/parser/symbolic_endpoint_spec.rb
wasabi-3.2.0 spec/wasabi/parser/symbolic_endpoint_spec.rb