Sha256: fa8bd30afabca91b8f049aaaacfe9686f9caa0aa2c70b23283db4219a42d79ab

Contents?: true

Size: 802 Bytes

Versions: 7

Compression:

Stored size: 802 Bytes

Contents

require "spec_helper"

describe Wasabi::Document do
  context "with: geotrust.wsdl" do

    subject { Wasabi::Document.new fixture(:geotrust).read }

    its(:namespace) { should == "http://api.geotrust.com/webtrust/query" }

    its(:endpoint) { should == URI("https://test-api.geotrust.com:443/webtrust/query.jws") }

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

    it { should have(2).operations }

    its(:operations) do
      should include(
        { :get_quick_approver_list => { :input => "GetQuickApproverList", :action => "GetQuickApproverList", :parameters=>{:Request=>{:name=>"Request", :type=>"GetQuickApproverListInput"}}}},
        { :hello => { :input => "hello", :action => "hello", :parameters=>{:Input=>{:name=>"Input", :type=>"string"}} } }
      )
    end

  end
end

Version data entries

7 entries across 7 versions & 3 rubygems

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