Sha256: 5ec809cc4c0e6cd6d8425aed6107aff85b6059943ec05fab8b7b73567365168c

Contents?: true

Size: 614 Bytes

Versions: 6

Compression:

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

  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
wasabi-3.1.0 spec/wasabi/document/authentication_spec.rb
wasabi-3.0.0 spec/wasabi/document/authentication_spec.rb
wasabi-2.5.1 spec/wasabi/document/authentication_spec.rb
wasabi-2.5.0 spec/wasabi/document/authentication_spec.rb
wasabi-2.4.1 spec/wasabi/document/authentication_spec.rb
wasabi-2.4.0 spec/wasabi/document/authentication_spec.rb