Sha256: 5e789ccde0f532b2f60f875d470e8f981f010d30741214088db85ab7bb66849d

Contents?: true

Size: 763 Bytes

Versions: 2

Compression:

Stored size: 763 Bytes

Contents

# frozen_string_literal: true

require "spec_helper"

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

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

    describe '#element_form_default' do
      subject { super().element_form_default }
      it { should == :unqualified }
    end

    it 'has 3 operations' do
      expect(subject.operations.size).to eq(3)
    end

    describe '#operations' do
      subject { super().operations }
      it do
      should include(
        { :post => { :input => "Post", :action => "Post" } },
        { :post11only => { :input => "Post11only", :action => "Post11only" } },
        { :post12only => { :input => "Post12only", :action => "Post12only" } }
      )
    end
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasabi-3.6.1 spec/wasabi/document/two_bindings_spec.rb
wasabi-3.6.0 spec/wasabi/document/two_bindings_spec.rb