Sha256: b92c3717eb9fdf982a65dec7cd1415e9718d410bbff57faf965568e28d40a3a4

Contents?: true

Size: 381 Bytes

Versions: 15

Compression:

Stored size: 381 Bytes

Contents

# encoding: utf-8

describe Cieloz::RequisicaoConsulta do
  let(:_)     { subject.class }
  let(:dir)   { File.dirname __FILE__ }
  let(:opts)  { { root: "requisicao-consulta" } }
  let(:ec)    { Cieloz::Configuracao.credenciais }

  it "serializes tid" do
    tid = 12345
    subject.tid = tid
    assert_equal expected_xml(opts) { "<tid>#{tid}</tid>" }, subject.to_xml
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
cieloz-0.0.21 test/unit/requisicao_consulta_test.rb
cieloz-0.0.20 test/unit/requisicao_consulta_test.rb
cieloz-0.0.19 test/unit/requisicao_consulta_test.rb
cieloz-0.0.18 test/unit/requisicao_consulta_test.rb
cieloz-0.0.17 test/unit/requisicao_consulta_test.rb
cieloz-0.0.16 test/unit/requisicao_consulta_test.rb
cieloz-0.0.15 test/unit/requisicao_consulta_test.rb
cieloz-0.0.14 test/unit/requisicao_consulta_test.rb
cieloz-0.0.13 test/unit/requisicao_consulta_test.rb
cieloz-0.0.12 test/unit/requisicao_consulta_test.rb
cieloz-0.0.11 test/unit/requisicao_consulta_test.rb
cieloz-0.0.10 test/unit/requisicao_consulta_test.rb
cieloz-0.0.9 test/unit/requisicao_consulta_test.rb
cieloz-0.0.8 test/unit/requisicao_consulta_test.rb
cieloz-0.0.7 test/unit/requisicao_consulta_test.rb