Sha256: d93d0b1aee686db9896aed1bda3d3d943a81fb471a77219ce9d4139dfb8546a6
Contents?: true
Size: 1015 Bytes
Versions: 2
Compression:
Stored size: 1015 Bytes
Contents
require "spec_helper" describe Wasabi::Document do context "with: multiple_namespaces.wsdl" do subject { Wasabi::Document.new fixture(:multiple_namespaces) } its(:namespace) { should == "http://example.com/actions" } its(:endpoint) { should == URI("http://example.com:1234/soap") } its(:element_form_default) { should == :qualified } it { should have(1).operations } its(:operations) do should == { :save => { :input => "Save", :action => "http://example.com/actions.Save", :namespace_identifier => "actions" } } end its(:type_namespaces) do should =~ [ [["Save"], "http://example.com/actions"], [["Save", "article"], "http://example.com/actions"], [["Article"], "http://example.com/article"], [["Article", "Author"], "http://example.com/article"], [["Article", "Title"], "http://example.com/article"] ] end its(:type_definitions) do should =~ [ [["Save", "article"], "Article"] ] end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
wasabi-2.3.0 | spec/wasabi/document/multiple_namespaces_spec.rb |
wasabi-2.2.0 | spec/wasabi/document/multiple_namespaces_spec.rb |