Sha256: 36415d80c4be626d31e2f617c460a28fa150f951145604a59e08b2069518cc32

Contents?: true

Size: 732 Bytes

Versions: 3

Compression:

Stored size: 732 Bytes

Contents

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

3 entries across 3 versions & 1 rubygems

Version Path
wasabi-3.5.0 spec/wasabi/document/two_bindings_spec.rb
wasabi-3.4.0 spec/wasabi/document/two_bindings_spec.rb
wasabi-3.3.1 spec/wasabi/document/two_bindings_spec.rb