Sha256: 1d1a689ad64cb82a815e18de0a0d196d63fddecc36e6fcc7e531e3884e1a26d4
Contents?: true
Size: 662 Bytes
Versions: 9
Compression:
Stored size: 662 Bytes
Contents
RSpec.describe Epics::CDB do let(:client) { Epics::Client.new( File.open(File.join( File.dirname(__FILE__), '..', 'fixtures', 'SIZBN001.key')), 'secret' , 'https://194.180.18.30/ebicsweb/ebicsweb', 'SIZBN001', 'EBIX', 'EBICS') } let(:document) { File.read( File.join( File.dirname(__FILE__), '..', 'fixtures', 'xml', 'cd1.xml') ) } subject { described_class.new(client, document) } describe '#to_xml' do specify { expect(subject.to_xml).to be_a_valid_ebics_doc } end describe '#to_transfer_xml' do before { subject.transaction_id = SecureRandom.hex(16) } specify { expect(subject.to_transfer_xml).to be_a_valid_ebics_doc } end end
Version data entries
9 entries across 9 versions & 1 rubygems