Sha256: bcb2cd7541b257a86e4696ac3788406628e5e9996fc455e2a1a06d6f56677f22
Contents?: true
Size: 680 Bytes
Versions: 4
Compression:
Stored size: 680 Bytes
Contents
RSpec.describe Epics::XE2 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', 'swiss_credit_transfer.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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
epics-2.7.0 | spec/orders/xe2_spec.rb |
epics-2.6.0 | spec/orders/xe2_spec.rb |
epics-2.5.0 | spec/orders/xe2_spec.rb |
epics-2.4.0 | spec/orders/xe2_spec.rb |