Sha256: eb6bc17eae7803aef31f80fa4b7430f6e4832130b4fc1638c426236dfdd34fab

Contents?: true

Size: 491 Bytes

Versions: 10

Compression:

Stored size: 491 Bytes

Contents

require "spec_helper"

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

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

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

    it "does blow up when portTypes are imported" do
      get_customer = subject.operations[:get_customer]

      get_customer[:input].should == "GetCustomer"
      get_customer[:namespace_identifier].should be_nil
    end

  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
wasabi-3.3.0 spec/wasabi/parser/import_port_types_spec.rb
wasabi_with_adapter-3.2.4 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.2.3 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.2.2 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.2.1 spec/wasabi/parser/import_port_types_spec.rb
wasabi-ng-1.6-3.3.0 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.2.0 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.1.0 spec/wasabi/parser/import_port_types_spec.rb
wasabi-3.0.0 spec/wasabi/parser/import_port_types_spec.rb
wasabi-2.5.1 spec/wasabi/parser/import_port_types_spec.rb