Sha256: 04638a84af2cb7d53ec3adbdfcbd8f58d380f373c6ae9f537b86b495ba7a2729
Contents?: true
Size: 691 Bytes
Versions: 1
Compression:
Stored size: 691 Bytes
Contents
# frozen_string_literal: true ################################################ # © Alexander Semyonov, 2011—2013, MIT License # # Author: Alexander Semyonov <al@semyonov.us> # ################################################ require 'spec_helper' describe Xommelier::DS::SignatureMethod do it { is_expected.to respond_to(:hmac_output_length) } describe '.new_rsa_sha1' do subject { described_class.new_rsa_sha1 } its('algorithm.to_s') { should == 'http://www.w3.org/2000/09/xmldsig#rsa-sha1' } end describe '.new_dsa_sha1' do subject { described_class.new_dsa_sha1 } its('algorithm.to_s') { should == 'http://www.w3.org/2000/09/xmldsig#dsa-sha1' } end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
xommelier-0.1.35 | spec/lib/xommelier/ds/signature_method_spec.rb |