Sha256: 59d062fa846b15c1b35107347b7ae4362fb21232d65d828f7c5b44d853aab0e9

Contents?: true

Size: 649 Bytes

Versions: 6

Compression:

Stored size: 649 Bytes

Contents

require "spec_helper"

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

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

    its(:namespace) { should == "http://v1_0.ws.auth.order.example.com/" }

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

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

    it { should have(1).operations }

    its(:operations) do
      should == {
        :authenticate => { :input => "authenticate", :output => "authenticateResponse", :action => "authenticate", :namespace_identifier => "tns" }
      }
    end

  end
end

Version data entries

6 entries across 6 versions & 3 rubygems

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