-
-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
test failure for xml_security_test #2
Comments
Very odd - I'm not seeing that when I run the tests here? |
Does validate_doc return true for you? Did you try adding the assert that I added in? What version of ruby are you running? |
ruby 1.8.7 (2009-06-12 patchlevel 174) [universal-darwin10.0] It's this test,right:
|
Correct. What I am seeing is that the statement:
is returning false. |
Hi Eric, The point of the test was to provoke the behavior you reported here https://github.com/onelogin/ruby-saml/issues/issue/1 - so it's not about asserting the outcome of the validate call, it's about not getting an exception. I've rephrased the should statement. Morten |
Got it, that makes more sense. I am trying to get a validate_doc call to pass to confirm that a signature can be verified, is there some static response that I can use to confirm that this works? thanks, |
add basic support for encrypted assertions
Feature/casham
The test xml_security_test.rb contains no assertions. I added an assertion for validate_doc as follows on line 13:
And I receive the following error. I am running Ruby 1.8.7 P330. I forked and commited the change to git://github.com/ekolve/ruby-saml.git
The text was updated successfully, but these errors were encountered: