rubycas / rubycas-server

Provides single sign-on authentication for web applications, implementing the server-end of Jasig's CAS protocol.
http://rubycas.github.com
Other
628 stars 270 forks source link

Spec for CASServer validation service fails #180

Closed ghilead closed 10 years ago

ghilead commented 11 years ago

Failures:
  1) CASServer validation serviceValidate from allowed IP body 
     Failure/Error: its(:body) { should match '<test_utf_string>Ютф</test_utf_string>' }
       expected "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n<cas:serviceResponse xmlns:cas=\"http://www.yale.edu/tp/cas\">\n  <cas:authenticationSuccess>\n    <cas:user>spec_user</cas:user>\n    <cas:attributes>\n      <cas:test_utf_string>Ютф</cas:test_utf_string>\n      <cas:test_numeric>123.45</cas:test_numeric>\n      <cas:test_serialized>\n        <![CDATA[---\n:foo: bar\n:alpha:\n- 1\n- 2\n- 3\n]]>\n      </cas:test_serialized>\n    </cas:attributes>\n  </cas:authenticationSuccess>\n</cas:serviceResponse>\n" to match "<test_utf_string>Ютф</test_utf_string>"
     # ./spec/casserver_spec.rb:188:in `block (5 levels) in <top (required)>'