spec/support/shared_examples/cnab240.rb in brcobranca-6.4.0 vs spec/support/shared_examples/cnab240.rb in brcobranca-6.4.1
- old
+ new
@@ -138,10 +138,9 @@
it 'trailer lote deve ter as informacoes nas posicoes corretas' do
trailer = objeto.monta_trailer_lote 1, 4
expect(trailer[0..2]).to eq objeto.cod_banco # cod. do banco
expect(trailer[3..6]).to eq '0001' # numero do lote
expect(trailer[17..22]).to eq '000004' # qtde de registros no lote
- expect(trailer[23..239]).to eq objeto.complemento_trailer # complemento do registro trailer
end
end
context 'trailer arquivo' do
it 'trailer arquivo deve ter 240 posicoes' do