Sha256: 980e34c0959226a5f116d2172ac7a4cfd9de19f70b3aa6de7b5b0e8d80f9b80a

Contents?: true

Size: 573 Bytes

Versions: 8

Compression:

Stored size: 573 Bytes

Contents

RSpec.describe Epics::STA 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') }

  subject { described_class.new(client, "2014-09-01", "2014-09-30") }

  describe '#to_xml' do
    specify { expect(subject.to_xml).to be_a_valid_ebics_doc }
  end

  describe '#to_receipt_xml' do
    before { subject.transaction_id = SecureRandom.hex(16) }

    specify { expect(subject.to_receipt_xml).to be_a_valid_ebics_doc }
  end

end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
epics-1.3.1 spec/orders/sta_spec.rb
epics-1.3.0 spec/orders/sta_spec.rb
epics-1.2.2 spec/orders/sta_spec.rb
epics-1.2.1 spec/orders/sta_spec.rb
epics-1.2.0 spec/orders/sta_spec.rb
epics-1.1.2 spec/orders/sta_spec.rb
epics-1.1.1 spec/orders/sta_spec.rb
epics-1.1.0 spec/orders/sta_spec.rb