summaryrefslogtreecommitdiff
path: root/spec/xml/kit/soap_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/xml/kit/soap_spec.rb')
-rw-r--r--spec/xml/kit/soap_spec.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/xml/kit/soap_spec.rb b/spec/xml/kit/soap_spec.rb
index ebc2d01..a38e90f 100644
--- a/spec/xml/kit/soap_spec.rb
+++ b/spec/xml/kit/soap_spec.rb
@@ -9,6 +9,7 @@ RSpec.describe Soap do
specify { expect(result['Envelope']).to be_present }
specify { expect(result['Envelope']['Header']).to be_present }
+
specify do
cipher_value = result['Envelope']['Header']['Security']['EncryptedKey']['CipherData']['CipherValue']
symmetric_key = key_pair.private_key.private_decrypt(Base64.decode64(cipher_value))