tests/apricoteatsgorilla_test.rb in smacks-apricoteatsgorilla-0.2.7 vs tests/apricoteatsgorilla_test.rb in smacks-apricoteatsgorilla-0.2.8
- old
+ new
@@ -20,10 +20,10 @@
</authValue>
</return>
</ns2:authenticateResponse>
</soap:Body>
</soap:Envelope>'
- expected = { 'authValue' => { 'token' => 'secret', 'client' => 'example' } }
+ expected = { 'auth_value' => { 'token' => 'secret', 'client' => 'example' } }
result = ApricotEatsGorilla.xml_to_hash(xml, '//return')
assert_equal expected, result
end
\ No newline at end of file