Sha256: 921a97f428c91c74c03e0670fe53a7f447e1df04322ee8ad12d00d40cf369030

Contents?: true

Size: 576 Bytes

Versions: 5

Compression:

Stored size: 576 Bytes

Contents

require "spec_helper"

describe Wasabi::Document do
  context "with: authentication.xml" 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" }
      }
    end

  end
end

Version data entries

5 entries across 5 versions & 2 rubygems

Version Path
vagrant-tiktalik-0.0.3 vendor/bundle/ruby/2.0.0/gems/wasabi-1.0.0/spec/wasabi/document/authentication_spec.rb
wasabi-2.1.1 spec/wasabi/document/authentication_spec.rb
wasabi-2.1.0 spec/wasabi/document/authentication_spec.rb
wasabi-2.0.0 spec/wasabi/document/authentication_spec.rb
wasabi-1.0.0 spec/wasabi/document/authentication_spec.rb