Sha256: 164149e14a57105519236f2bc25dfc59de879d36005657261f180d497193831e

Contents?: true

Size: 431 Bytes

Versions: 1

Compression:

Stored size: 431 Bytes

Contents

require 'test_helper'
require 'xml_security'

class XmlSecurityTest < Test::Unit::TestCase
  include XMLSecurity
  context "XmlSecurity" do
    setup do
      @document = XMLSecurity::SignedDocument.new(Base64.decode64(response_document))
    end

    should "should provide getters and settings" do
      base64cert = @document.elements["//ds:X509Certificate"].text
      @document.validate_doc(base64cert, nil)
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-saml-0.2.2 test/xml_security_test.rb