Sha256: 7733b8ec55067fb37f12b3d0e625bdeceb68f32ab4967b7932b0d2516ea67420
Contents?: true
Size: 1.08 KB
Versions: 3
Compression:
Stored size: 1.08 KB
Contents
require "spec_helper" describe Wasabi::Document do context "with: geotrust.wsdl" do subject { Wasabi::Document.new fixture(:geotrust).read } describe '#namespace' do subject { super().namespace } it { should == "http://api.geotrust.com/webtrust/query" } end describe '#endpoint' do subject { super().endpoint } it { should == URI("https://test-api.geotrust.com:443/webtrust/query.jws") } end describe '#element_form_default' do subject { super().element_form_default } it { should == :qualified } end it 'has 2 operations' do expect(subject.operations.size).to eq(2) end describe '#operations' do subject { super().operations } it 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 end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
wasabi-3.5.0 | spec/wasabi/document/geotrust_spec.rb |
wasabi-3.4.0 | spec/wasabi/document/geotrust_spec.rb |
wasabi-3.3.1 | spec/wasabi/document/geotrust_spec.rb |