Sha256: 34eae66e501278761ce79e7a7708a98aa4a8cf7fc0379fb60e5aca816da03d9c

Contents?: true

Size: 609 Bytes

Versions: 2

Compression:

Stored size: 609 Bytes

Contents

require "spec_helper"

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

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

    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", :action => "authenticate", :namespace_identifier => "tns" }
      }
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
wasabi-2.3.0 spec/wasabi/document/authentication_spec.rb
wasabi-2.2.0 spec/wasabi/document/authentication_spec.rb