Created
April 26, 2012 13:28
-
-
Save ritxi/2499559 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'test_helper' | |
class DecrypterTest < Test::Unit::TestCase | |
include InformationCard | |
def test_should_decrypt_encrypted_xml_token_into_saml_token | |
decrypter = Decrypter.new( | |
load_encrypted_information_card('wuaki.xml'),certificates_directory, | |
'/O=testinformationcardruby.com/CN=*.wuaki.tv') | |
puts decrypter.decrypt | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment