Sha256: afd0a388de50b77dc12954aaaf2bd2567a76538437a732654b561a215c946fd7

Contents?: true

Size: 662 Bytes

Versions: 15

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', 'cdb.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

15 entries across 15 versions & 1 rubygems

Version Path
epics-2.7.0 spec/orders/cdb_spec.rb
epics-2.6.0 spec/orders/cdb_spec.rb
epics-2.5.0 spec/orders/cdb_spec.rb
epics-2.4.0 spec/orders/cdb_spec.rb
epics-2.3.0 spec/orders/cdb_spec.rb
epics-2.2.0 spec/orders/cdb_spec.rb
epics-2.1.2 spec/orders/cdb_spec.rb
epics-2.1.1 spec/orders/cdb_spec.rb
epics-2.1.0 spec/orders/cdb_spec.rb
epics-2.0.0 spec/orders/cdb_spec.rb
epics-1.8.1 spec/orders/cdb_spec.rb
epics-1.8.0 spec/orders/cdb_spec.rb
epics-1.7.2 spec/orders/cdb_spec.rb
epics-1.7.1 spec/orders/cdb_spec.rb
epics-1.7.0 spec/orders/cdb_spec.rb