Sha256: dbf4c4b93b60e5535971183cf7c11808c6c911f8460350267dc7b312181e4d8f
Contents?: true
Size: 736 Bytes
Versions: 3
Compression:
Stored size: 736 Bytes
Contents
RSpec.describe Epics::HPB 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') } describe '#to_xml' do subject { Nokogiri::XML.parse(described_class.new(client).to_xml) } specify do expect(subject.xpath("//xmlns:Timestamp").first.content).to_not be_nil expect(subject.xpath("//xmlns:Nonce").first.content).to_not be_nil expect(subject.xpath("//xmlns:HostID").first.content).to eq("SIZBN001") expect(subject.xpath("//xmlns:UserID").first.content).to eq("EBIX") expect(subject.xpath("//xmlns:PartnerID").first.content).to eq("EBICS") end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
epics-2.7.0 | spec/hpb_spec.rb |
epics-2.6.0 | spec/hpb_spec.rb |
epics-2.5.0 | spec/hpb_spec.rb |