Sha256: 5265e7ce3b7d42d65ba6f20fa1a06bc0e437f548bc729263e270998cfa87d162
Contents?: true
Size: 871 Bytes
Versions: 1
Compression:
Stored size: 871 Bytes
Contents
# frozen_string_literal: true ################################################ # © Alexander Semyonov, 2011—2013, MIT License # # Author: Alexander Semyonov <al@semyonov.us> # ################################################ require 'spec_helper' describe Xommelier::DS::Signature do it { is_expected.to respond_to(:signed_info) } it { is_expected.to respond_to(:signature_value) } it { is_expected.to respond_to(:key_info) } describe '(signature-example-rsa.xml)' do let(:ds_rsa_xml) { load_xml_file('ds_rsa') } subject(:ds_rsa) { described_class.parse(ds_rsa_xml) } describe described_class do its(:signed_info) { should be_present } its(:signature_value) { should be_present } its(:key_info) { should be_present } end describe :signed_info do subject(:signed_info) { ds_rsa.signed_info } end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xommelier-0.1.35 | spec/lib/xommelier/ds/signature_spec.rb |