Sha256: a4ba2afdd1f7259e9bd2cf15878cab88ab7fcd9c582dc75da364c12b1da0e4c8

Contents?: true

Size: 751 Bytes

Versions: 5

Compression:

Stored size: 751 Bytes

Contents

require "spec_helper"

describe Wasabi::Document do
  context "with: no_namespace.xml" do

    subject { Wasabi::Document.new fixture(:no_namespace) }

    its(:namespace) { should == "urn:ActionWebService" }

    its(:endpoint) { should == URI("http://example.com/api/api") }

    its(:element_form_default) { should == :unqualified }

    it { should have(3).operations }

    its(:operations) do
      should include(
        { :get_user_login_by_id => { :input => "GetUserLoginById", :action => "/api/api/GetUserLoginById" } },
        { :get_all_contacts => { :input => "GetAllContacts", :action => "/api/api/GetAllContacts" } },
        { :search_user => { :input => "SearchUser", :action => "/api/api/SearchUser" } }
      )
    end

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/wasabi-1.0.0/spec/wasabi/document/no_namespace_spec.rb
wasabi-2.1.1 spec/wasabi/document/no_namespace_spec.rb
wasabi-2.1.0 spec/wasabi/document/no_namespace_spec.rb
wasabi-2.0.0 spec/wasabi/document/no_namespace_spec.rb
wasabi-1.0.0 spec/wasabi/document/no_namespace_spec.rb