Sha256: a1e71ebc9c353c5fdf84bdf68d049f872a13cf7448239615b12fc890ec7c2a59

Contents?: true

Size: 454 Bytes

Versions: 26

Compression:

Stored size: 454 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 run validate without throwing NS related exceptions" do
      base64cert = @document.elements["//ds:X509Certificate"].text
      @document.validate_doc(base64cert, nil)
    end
  end
end

Version data entries

26 entries across 26 versions & 3 rubygems

Version Path
ruby-saml-for-portal-0.4.2 test/xml_security_test.rb
ruby-saml-for-portal-0.4.1 test/xml_security_test.rb
ruby-saml-for-portal-0.4.0 test/xml_security_test.rb
ruby-saml-for-portal-0.3.9 test/xml_security_test.rb
ruby-saml-for-portal-0.3.8 test/xml_security_test.rb
ruby-saml-for-portal-0.3.7 test/xml_security_test.rb
ruby-saml-for-portal-0.3.6 test/xml_security_test.rb
ruby-saml-for-portal-0.3.5 test/xml_security_test.rb
ruby-saml-for-portal-0.3.4 test/xml_security_test.rb
ruby-saml-for-portal-0.3.3 test/xml_security_test.rb
ruby-saml-0.4.5 test/xml_security_test.rb
ruby-saml-0.4.4 test/xml_security_test.rb
ruby-saml-0.4.3 test/xml_security_test.rb
ruby-saml-0.4.2 test/xml_security_test.rb
ruby-saml-0.4.1 test/xml_security_test.rb
ruby-saml-0.4.0 test/xml_security_test.rb
ruby-saml-0.3.4 test/xml_security_test.rb
ruby-saml-0.3.3 test/xml_security_test.rb
ruby-saml-bekk-0.3.3 test/xml_security_test.rb
ruby-saml-0.3.2 test/xml_security_test.rb